Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001242/0.001242, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001394/0.001394, allocations: 209 kB / 22.24 MB, free: 5.262 MB / 14.72 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 1.464/1.464, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.274/3.274, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00214/0.00214, allocations: 75.66 kB / 1.186 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.342, allocations: 181.9 MB / 1.364 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002728/0.3447, allocations: 1.51 MB / 1.365 GB, free: 12.01 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0003273/0.345, allocations: 107.7 kB / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.981e-05/0.345, allocations: 0 / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.951e-05/0.3451, allocations: 3.938 kB / 1.365 GB, free: 11.9 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.453e-05/0.3451, allocations: 7.938 kB / 1.365 GB, free: 11.89 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001957/0.3453, allocations: 19.97 kB / 1.365 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.474e-05/0.3454, allocations: 39.86 kB / 1.365 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.317e-05/0.3455, allocations: 19.97 kB / 1.365 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.267e-05/0.3456, allocations: 19.92 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.709e-05/0.3456, allocations: 15.92 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.3456, allocations: 4 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.221e-05/0.3457, allocations: 19.98 kB / 1.366 GB, free: 11.76 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.559e-05/0.3458, allocations: 19.92 kB / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.757e-05/0.3458, allocations: 15.88 kB / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001307/0.3459, allocations: 59.8 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3459, allocations: 0 / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3459, allocations: 0 / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.3459, allocations: 0 / 1.366 GB, free: 11.66 MB / 1.061 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.0005251/0.3465, allocations: 311.7 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/0.3465, allocations: 8.031 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.602e-05/0.3465, allocations: 8.891 kB / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.3466, allocations: 126.4 kB / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.3467, allocations: 384 / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.3467, allocations: 4.375 kB / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002506/0.3469, allocations: 70.22 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.3469, allocations: 192 / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.3469, allocations: 11.88 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.3469, allocations: 0 / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003077/0.3473, allocations: 75.92 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003634/0.3476, allocations: 228.5 kB / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002152/0.3478, allocations: 66.53 kB / 1.367 GB, free: 10.67 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001552/0.348, allocations: 48.84 kB / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001835/0.3482, allocations: 31.97 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.3482, allocations: 30.56 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.322e-06/0.3482, allocations: 0 / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0005583/0.3488, allocations: 149.5 kB / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.913e-05/0.3488, allocations: 55.41 kB / 1.367 GB, free: 10.33 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.3489, allocations: 127.7 kB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.349, allocations: 29.7 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.337e-05/0.349, allocations: 88.09 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.082e-05/0.349, allocations: 7.953 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-05/0.3491, allocations: 21.7 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.3492, allocations: 318.8 kB / 1.367 GB, free: 9.719 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.3494, allocations: 35.95 kB / 1.367 GB, free: 9.684 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.3495, allocations: 35.97 kB / 1.367 GB, free: 9.648 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002901/0.3498, allocations: 76.77 kB / 1.368 GB, free: 9.57 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3498, allocations: 8 kB / 1.368 GB, free: 9.562 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003395/0.3502, allocations: 117.7 kB / 1.368 GB, free: 9.441 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.3502, allocations: 6.031 kB / 1.368 GB, free: 9.438 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.3502, allocations: 48 / 1.368 GB, free: 9.438 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.3502, allocations: 3.984 kB / 1.368 GB, free: 9.434 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.3503, allocations: 19.97 kB / 1.368 GB, free: 9.414 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.3503, allocations: 0 / 1.368 GB, free: 9.414 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.09e-05/0.3504, allocations: 23.86 kB / 1.368 GB, free: 9.391 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.3504, allocations: 0 / 1.368 GB, free: 9.391 MB / 1.061 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 8.536e-05/0.3505, allocations: 113.8 kB / 1.368 GB, free: 9.27 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.576e-05/0.3505, allocations: 11.89 kB / 1.368 GB, free: 9.258 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003873/0.3509, allocations: 121.5 kB / 1.368 GB, free: 9.121 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.3509, allocations: 0 / 1.368 GB, free: 9.121 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.3509, allocations: 4 kB / 1.368 GB, free: 9.117 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.3509, allocations: 0 / 1.368 GB, free: 9.117 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001552/0.3511, allocations: 125.3 kB / 1.368 GB, free: 8.965 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3511, allocations: 4 kB / 1.368 GB, free: 8.961 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.3512, allocations: 19.91 kB / 1.368 GB, free: 8.941 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.614e-05/0.3512, allocations: 4 kB / 1.368 GB, free: 8.938 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.3512, allocations: 4 kB / 1.368 GB, free: 8.934 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3512, allocations: 0 / 1.368 GB, free: 8.934 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3512, allocations: 0 / 1.368 GB, free: 8.934 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003874/0.3516, allocations: 215.4 kB / 1.368 GB, free: 8.707 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.785e-05/0.3516, allocations: 3.938 kB / 1.368 GB, free: 8.703 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.3516, allocations: 0 / 1.368 GB, free: 8.703 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.3517, allocations: 15.92 kB / 1.368 GB, free: 8.688 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.219e-05/0.3518, allocations: 3.984 kB / 1.368 GB, free: 8.684 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.3518, allocations: 4 kB / 1.368 GB, free: 8.68 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.376e-05/0.3519, allocations: 99.27 kB / 1.368 GB, free: 8.582 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3519, allocations: 4 kB / 1.368 GB, free: 8.578 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002304/0.3521, allocations: 8 kB / 1.368 GB, free: 8.57 MB / 1.061 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 0.0001469/0.3522, allocations: 99.23 kB / 1.369 GB, free: 8.465 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003481/0.3526, allocations: 75.92 kB / 1.369 GB, free: 8.391 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3526, allocations: 0 / 1.369 GB, free: 8.391 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001586/0.3527, allocations: 51.89 kB / 1.369 GB, free: 8.34 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.353, allocations: 4 kB / 1.369 GB, free: 8.336 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003331/0.3533, allocations: 153.4 kB / 1.369 GB, free: 8.16 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.263e-05/0.3534, allocations: 71.33 kB / 1.369 GB, free: 8.07 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.95e-05/0.3534, allocations: 4 kB / 1.369 GB, free: 8.066 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.572e-05/0.3534, allocations: 7.438 kB / 1.369 GB, free: 8.059 MB / 1.061 GB Notification: Performance of SimCode: time 3.31e-07/0.3534, allocations: 4 kB / 1.369 GB, free: 8.055 MB / 1.061 GB Notification: Performance of Templates: time 0.003466/0.3569, allocations: 0.8744 MB / 1.37 GB, free: 7.195 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Biquadratic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.776930393651128]