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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00744/0.00744, allocations: 100.7 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 188.9 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 222.9 MB / 240.4 MB, free: 4.152 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.694/2.694, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 67.89 kB / 1.054 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3396, allocations: 157.4 MB / 1.208 GB, free: 9.629 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002904/0.3426, allocations: 1.498 MB / 1.209 GB, free: 8.117 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0003259/0.3429, allocations: 107.7 kB / 1.209 GB, free: 8.012 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.995e-05/0.343, allocations: 0 / 1.209 GB, free: 8.012 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.41e-05/0.343, allocations: 3.938 kB / 1.209 GB, free: 8.008 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.033e-05/0.3431, allocations: 7.938 kB / 1.209 GB, free: 8 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002123/0.3433, allocations: 19.97 kB / 1.209 GB, free: 7.98 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.445e-05/0.3434, allocations: 47.8 kB / 1.209 GB, free: 7.934 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.3435, allocations: 15.97 kB / 1.209 GB, free: 7.918 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.753e-05/0.3436, allocations: 15.98 kB / 1.209 GB, free: 7.902 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.625e-05/0.3437, allocations: 23.86 kB / 1.209 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.3437, allocations: 4 kB / 1.209 GB, free: 7.875 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.526e-05/0.3438, allocations: 19.98 kB / 1.209 GB, free: 7.855 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.733e-05/0.3438, allocations: 15.98 kB / 1.209 GB, free: 7.84 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.032e-05/0.3439, allocations: 19.86 kB / 1.209 GB, free: 7.82 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001458/0.344, allocations: 59.8 kB / 1.21 GB, free: 7.762 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.344, allocations: 0 / 1.21 GB, free: 7.762 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.402e-06/0.344, allocations: 0 / 1.21 GB, free: 7.762 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.3441, allocations: 0 / 1.21 GB, free: 7.762 MB / 0.9669 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.000565/0.3446, allocations: 379.2 kB / 1.21 GB, free: 7.34 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.3447, allocations: 8.625 kB / 1.21 GB, free: 7.332 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.857e-05/0.3447, allocations: 12.84 kB / 1.21 GB, free: 7.32 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.3449, allocations: 172.2 kB / 1.21 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.3449, allocations: 384 / 1.21 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.331e-05/0.3449, allocations: 4.375 kB / 1.21 GB, free: 7.109 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00026/0.3452, allocations: 74.2 kB / 1.21 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.3452, allocations: 192 / 1.21 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.3452, allocations: 11.88 kB / 1.21 GB, free: 7.02 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3452, allocations: 0 / 1.21 GB, free: 7.02 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002663/0.3455, allocations: 79.86 kB / 1.21 GB, free: 6.941 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003483/0.3459, allocations: 288.8 kB / 1.211 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001896/0.3461, allocations: 70.47 kB / 1.211 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001345/0.3462, allocations: 40.92 kB / 1.211 GB, free: 6.488 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002466/0.3465, allocations: 109.1 kB / 1.211 GB, free: 6.363 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.3465, allocations: 30.56 kB / 1.211 GB, free: 6.324 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.3465, allocations: 4 kB / 1.211 GB, free: 6.32 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005174/0.347, allocations: 149.5 kB / 1.211 GB, free: 6.168 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/0.3471, allocations: 55.41 kB / 1.211 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.854e-05/0.3472, allocations: 125.8 kB / 1.211 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.3472, allocations: 29.7 kB / 1.211 GB, free: 5.934 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.442e-05/0.3472, allocations: 95.98 kB / 1.211 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.261e-05/0.3473, allocations: 15.89 kB / 1.211 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.151e-05/0.3473, allocations: 9.719 kB / 1.211 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.3474, allocations: 318.8 kB / 1.212 GB, free: 5.484 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.3476, allocations: 35.95 kB / 1.212 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.3477, allocations: 47.95 kB / 1.212 GB, free: 5.402 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000251/0.3479, allocations: 76.78 kB / 1.212 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.348, allocations: 3.938 kB / 1.212 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003091/0.3483, allocations: 109.5 kB / 1.212 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.3483, allocations: 12 kB / 1.212 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.3483, allocations: 0 / 1.212 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.3483, allocations: 0 / 1.212 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.3485, allocations: 19.97 kB / 1.212 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.3485, allocations: 0 / 1.212 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.848e-05/0.3485, allocations: 7.984 kB / 1.212 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/0.3486, allocations: 4 kB / 1.212 GB, free: 5.164 MB / 0.9669 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.338e-05/0.3486, allocations: 121.8 kB / 1.212 GB, free: 5.035 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.604e-05/0.3487, allocations: 3.984 kB / 1.212 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003725/0.3491, allocations: 125.4 kB / 1.212 GB, free: 4.895 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.3491, allocations: 0 / 1.212 GB, free: 4.895 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.3491, allocations: 4 kB / 1.212 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.3491, allocations: 0 / 1.212 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001797/0.3493, allocations: 181.6 kB / 1.212 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3493, allocations: 7.938 kB / 1.212 GB, free: 4.656 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.639e-05/0.3494, allocations: 15.98 kB / 1.212 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.562e-06/0.3494, allocations: 0 / 1.212 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.3494, allocations: 3.984 kB / 1.212 GB, free: 4.637 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3494, allocations: 0 / 1.212 GB, free: 4.637 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.3494, allocations: 4 kB / 1.212 GB, free: 4.633 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003335/0.3497, allocations: 203.4 kB / 1.212 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.724e-05/0.3498, allocations: 85 kB / 1.213 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.3498, allocations: 7.938 kB / 1.213 GB, free: 4.309 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.953e-05/0.3499, allocations: 11.98 kB / 1.213 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.711e-05/0.35, allocations: 7.938 kB / 1.213 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.35, allocations: 0 / 1.213 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.737e-05/0.35, allocations: 104.6 kB / 1.213 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.8e-07/0.35, allocations: 4 kB / 1.213 GB, free: 4.184 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002232/0.3503, allocations: 12 kB / 1.213 GB, free: 4.172 MB / 0.9669 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.0001281/0.3504, allocations: 99.25 kB / 1.213 GB, free: 4.066 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003362/0.3507, allocations: 76.34 kB / 1.213 GB, free: 3.992 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3507, allocations: 0 / 1.213 GB, free: 3.992 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.3509, allocations: 47.95 kB / 1.213 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000247/0.3512, allocations: 11.88 kB / 1.213 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003279/0.3515, allocations: 161.5 kB / 1.213 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002311/0.3517, allocations: 0.6846 MB / 1.214 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.841e-05/0.3518, allocations: 7.844 kB / 1.214 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.434e-05/0.3518, allocations: 15.44 kB / 1.214 GB, free: 3.016 MB / 0.9669 GB Notification: Performance of SimCode: time 2.3e-07/0.3518, allocations: 0 / 1.214 GB, free: 3.016 MB / 0.9669 GB Notification: Performance of Templates: time 0.002944/0.3548, allocations: 0.791 MB / 1.215 GB, free: 2.234 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) 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) Reference file matches