Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008356/0.0008356, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000859/0.000859, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9206/0.9206, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.639/1.639, allocations: 359 MB / 0.6044 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.575e-06/2.575e-06, allocations: 4 kB / 0.9517 GB, free: 2.98 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.02e-05/3.277e-05, allocations: 6.281 kB / 0.9517 GB, free: 2.973 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.001877/0.00191, allocations: 1.501 MB / 0.9532 GB, free: 1.457 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0002577/0.002167, allocations: 99.73 kB / 0.9533 GB, free: 1.359 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.303e-05/0.0022, allocations: 0 / 0.9533 GB, free: 1.359 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 4.311e-05/0.002243, allocations: 11.92 kB / 0.9533 GB, free: 1.348 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.015e-05/0.002303, allocations: 15.86 kB / 0.9533 GB, free: 1.332 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001967/0.0025, allocations: 23.91 kB / 0.9533 GB, free: 1.309 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.876e-05/0.002579, allocations: 39.86 kB / 0.9534 GB, free: 1.27 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.297e-05/0.002672, allocations: 11.98 kB / 0.9534 GB, free: 1.258 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 5.394e-05/0.002726, allocations: 19.98 kB / 0.9534 GB, free: 1.238 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.577e-05/0.002772, allocations: 23.91 kB / 0.9534 GB, free: 1.215 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.00279, allocations: 4 kB / 0.9534 GB, free: 1.211 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 5.724e-05/0.002847, allocations: 15.98 kB / 0.9535 GB, free: 1.195 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 4.809e-05/0.002895, allocations: 15.98 kB / 0.9535 GB, free: 1.18 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.207e-05/0.002917, allocations: 15.92 kB / 0.9535 GB, free: 1.164 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001298/0.003047, allocations: 63.8 kB / 0.9535 GB, free: 1.102 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.00305, allocations: 3.984 kB / 0.9535 GB, free: 1.098 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.182e-06/0.003051, allocations: 0 / 0.9535 GB, free: 1.098 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.003056, allocations: 0 / 0.9535 GB, free: 1.098 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003945/0.00345, allocations: 302 kB / 0.9538 GB, free: 0.7695 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.003489, allocations: 8.031 kB / 0.9538 GB, free: 0.7617 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.045e-05/0.003519, allocations: 8.891 kB / 0.9539 GB, free: 0.7539 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.451e-05/0.003604, allocations: 127.7 kB / 0.954 GB, free: 0.6055 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.719e-06/0.003614, allocations: 384 / 0.954 GB, free: 0.6055 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.042e-05/0.003624, allocations: 4.375 kB / 0.954 GB, free: 0.6016 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.003788, allocations: 74.22 kB / 0.954 GB, free: 0.5234 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.003795, allocations: 192 / 0.954 GB, free: 0.5234 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.003805, allocations: 384 / 0.954 GB, free: 0.5234 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.00381, allocations: 4.375 kB / 0.9541 GB, free: 0.5195 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001488/0.003959, allocations: 79.86 kB / 0.9541 GB, free: 452 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002843/0.004243, allocations: 228.5 kB / 0.9543 GB, free: 192 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.004365, allocations: 62.53 kB / 0.9544 GB, free: 120 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.558e-05/0.004441, allocations: 44.91 kB / 0.9544 GB, free: 72 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001386/0.00458, allocations: 35.97 kB / 0.9545 GB, free: 36 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.004609, allocations: 30.56 kB / 0.9545 GB, free: 16 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.00461, allocations: 0 / 0.9545 GB, free: 16 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3): time 0.0003242/0.004934, allocations: 157.4 kB / 0.9547 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/0.004964, allocations: 55.41 kB / 0.9547 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.015e-05/0.005044, allocations: 129.7 kB / 0.9548 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.005056, allocations: 25.7 kB / 0.9549 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.538e-05/0.005101, allocations: 92.14 kB / 0.955 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.717e-05/0.005118, allocations: 11.84 kB / 0.955 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.751e-05/0.005146, allocations: 21.7 kB / 0.955 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.107e-05/0.005227, allocations: 314.8 kB / 0.9553 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.293e-05/0.0053, allocations: 39.95 kB / 0.9553 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.511e-05/0.005365, allocations: 36.16 kB / 0.9554 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001359/0.005501, allocations: 84.84 kB / 0.9554 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.005503, allocations: 0 / 0.9554 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001635/0.005666, allocations: 121.5 kB / 0.9556 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.005679, allocations: 7.938 kB / 0.9556 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.005683, allocations: 0 / 0.9556 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.005695, allocations: 0 / 0.9556 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.221e-05/0.005767, allocations: 19.97 kB / 0.9556 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.005772, allocations: 0 / 0.9556 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.592e-05/0.005808, allocations: 11.98 kB / 0.9556 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.241e-06/0.005814, allocations: 0 / 0.9556 GB, free: 14.83 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.156e-05/0.005875, allocations: 113.8 kB / 0.9557 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.253e-05/0.005888, allocations: 8 kB / 0.9557 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001968/0.006085, allocations: 129.4 kB / 0.9558 GB, free: 14.56 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.006087, allocations: 0 / 0.9558 GB, free: 14.56 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.006091, allocations: 0 / 0.9558 GB, free: 14.56 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.006093, allocations: 0 / 0.9558 GB, free: 14.56 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.605e-05/0.006189, allocations: 121.3 kB / 0.9559 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.006192, allocations: 3.984 kB / 0.956 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.125e-05/0.006233, allocations: 19.98 kB / 0.956 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.006234, allocations: 0 / 0.956 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.006241, allocations: 0 / 0.956 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.006242, allocations: 3.938 kB / 0.956 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.006244, allocations: 4 kB / 0.956 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000188/0.006432, allocations: 203.5 kB / 0.9562 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.786e-06/0.006441, allocations: 7.891 kB / 0.9562 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.006455, allocations: 12 kB / 0.9562 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.902e-05/0.006504, allocations: 11.92 kB / 0.9562 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.006538, allocations: 7.984 kB / 0.9562 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.00654, allocations: 0 / 0.9562 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.001e-05/0.00658, allocations: 103 kB / 0.9563 GB, free: 14.03 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.006581, allocations: 0 / 0.9563 GB, free: 14.03 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001439/0.006724, allocations: 15.88 kB / 0.9563 GB, free: 14.01 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.88e-05/0.006823, allocations: 103.2 kB / 0.9564 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001807/0.007004, allocations: 79.92 kB / 0.9565 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 9.82e-07/0.007005, allocations: 0 / 0.9565 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.183e-05/0.007077, allocations: 47.89 kB / 0.9565 GB, free: 13.78 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001663/0.007243, allocations: 4 kB / 0.9565 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002605/0.007503, allocations: 183 kB / 0.9567 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.797e-05/0.007551, allocations: 75.33 kB / 0.9568 GB, free: 13.47 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.477e-05/0.007576, allocations: 8.5 kB / 0.9568 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of SimCode: time 6.31e-07/0.007577, allocations: 3.938 kB / 0.9568 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of Templates: time 0.001638/0.009214, allocations: 0.9176 MB / 0.9577 GB, free: 12.54 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Biquadratic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.589201487600803]