Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_10_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.002021/0.002021, allocations: 112.4 kB / 16.42 MB, free: 6.465 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.002208/0.002209, allocations: 189.5 kB / 17.35 MB, free: 5.715 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.474/1.474, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.57/2.57, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 64.12 kB / 1.019 GB, free: 9.422 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.031/1.032, allocations: 151.6 MB / 1.167 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002896/1.035, allocations: 1.484 MB / 1.169 GB, free: 2.391 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0003586/1.035, allocations: 111 kB / 1.169 GB, free: 2.281 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.044e-05/1.036, allocations: 0 / 1.169 GB, free: 2.281 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.711e-05/1.036, allocations: 0 / 1.169 GB, free: 2.281 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.129e-05/1.036, allocations: 19.84 kB / 1.169 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002338/1.036, allocations: 15.98 kB / 1.169 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001085/1.036, allocations: 47.78 kB / 1.169 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/1.036, allocations: 16 kB / 1.169 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.405e-05/1.036, allocations: 11.98 kB / 1.169 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.055e-05/1.036, allocations: 31.84 kB / 1.169 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.576e-05/1.036, allocations: 4 kB / 1.169 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 7.045e-05/1.036, allocations: 15.92 kB / 1.169 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 6.423e-05/1.036, allocations: 15.98 kB / 1.169 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.29e-05/1.037, allocations: 23.86 kB / 1.169 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000153/1.037, allocations: 55.33 kB / 1.169 GB, free: 2.031 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/1.037, allocations: 4 kB / 1.169 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.814e-06/1.037, allocations: 0 / 1.169 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.239e-06/1.037, allocations: 0 / 1.169 GB, free: 2.027 MB / 0.8887 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.0006293/1.037, allocations: 384.1 kB / 1.169 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/1.037, allocations: 12.62 kB / 1.169 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.574e-05/1.037, allocations: 8.891 kB / 1.169 GB, free: 1.582 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002063/1.038, allocations: 177.9 kB / 1.17 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/1.038, allocations: 8.312 kB / 1.17 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/1.038, allocations: 4.375 kB / 1.17 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002887/1.038, allocations: 70.22 kB / 1.17 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/1.038, allocations: 192 / 1.17 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/1.038, allocations: 7.875 kB / 1.17 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/1.038, allocations: 4 kB / 1.17 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003303/1.038, allocations: 75.92 kB / 1.17 GB, free: 1.199 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004314/1.039, allocations: 281 kB / 1.17 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002319/1.039, allocations: 74.41 kB / 1.17 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001682/1.039, allocations: 44.91 kB / 1.17 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002785/1.04, allocations: 105.1 kB / 1.17 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/1.04, allocations: 30.56 kB / 1.17 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 1.804e-06/1.04, allocations: 4 kB / 1.17 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0006324/1.04, allocations: 153.5 kB / 1.17 GB, free: 436 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/1.04, allocations: 55.34 kB / 1.171 GB, free: 368 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/1.04, allocations: 121.8 kB / 1.171 GB, free: 236 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/1.04, allocations: 25.7 kB / 1.171 GB, free: 204 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.347e-05/1.04, allocations: 100.1 kB / 1.171 GB, free: 100 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-05/1.041, allocations: 7.906 kB / 1.171 GB, free: 92 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.806e-05/1.041, allocations: 21.72 kB / 1.171 GB, free: 64 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001492/1.041, allocations: 318.8 kB / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001635/1.041, allocations: 35.97 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001486/1.041, allocations: 36.14 kB / 1.171 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003034/1.041, allocations: 84.86 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/1.041, allocations: 0 / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003713/1.042, allocations: 121.4 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/1.042, allocations: 6.5 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/1.042, allocations: 0 / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/1.042, allocations: 0 / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/1.042, allocations: 19.98 kB / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/1.042, allocations: 0 / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.405e-05/1.042, allocations: 19.91 kB / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.758e-05/1.042, allocations: 0 / 1.171 GB, free: 15.42 MB / 0.9044 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 0.0001116/1.042, allocations: 117.8 kB / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.102e-05/1.042, allocations: 4 kB / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004042/1.043, allocations: 125.5 kB / 1.172 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/1.043, allocations: 0 / 1.172 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/1.043, allocations: 0 / 1.172 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.95e-05/1.043, allocations: 81.11 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/1.043, allocations: 7.938 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/1.043, allocations: 15.92 kB / 1.172 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.909e-05/1.043, allocations: 11.92 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004493/1.043, allocations: 192.9 kB / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004478/1.044, allocations: 282.7 kB / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001707/1.044, allocations: 47.89 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.279e-05/1.044, allocations: 96.52 kB / 1.172 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of Backend: time 5.21e-07/1.044, allocations: 0 / 1.172 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005872/1.045, allocations: 126.3 kB / 1.172 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005667/1.045, allocations: 0.5818 MB / 1.173 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of Templates: time 0.003871/1.049, allocations: 0.9885 MB / 1.174 GB, free: 12.65 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_Biquadratic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches