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.001745/0.001745, allocations: 107.3 kB / 16.41 MB, free: 6.492 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.002224/0.002224, allocations: 192.2 kB / 17.35 MB, free: 5.738 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.436/1.436, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.695/2.695, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 63.91 kB / 1.055 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.181/1.183, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.005031/1.188, allocations: 1.49 MB / 1.21 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0005516/1.189, allocations: 115.7 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.887e-05/1.189, allocations: 0 / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 6.016e-05/1.189, allocations: 3.938 kB / 1.21 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001017/1.189, allocations: 3.938 kB / 1.21 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003156/1.189, allocations: 27.97 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001456/1.19, allocations: 47.78 kB / 1.21 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/1.19, allocations: 11.98 kB / 1.21 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.142e-05/1.19, allocations: 23.92 kB / 1.21 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.95e-05/1.19, allocations: 19.92 kB / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.376e-05/1.19, allocations: 4 kB / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/1.19, allocations: 19.98 kB / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.993e-05/1.19, allocations: 11.98 kB / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.15e-05/1.19, allocations: 23.8 kB / 1.21 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001935/1.19, allocations: 55.86 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/1.19, allocations: 0 / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.034e-06/1.19, allocations: 0 / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.092e-06/1.19, allocations: 0 / 1.21 GB, free: 11.77 MB / 0.9356 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.0008176/1.191, allocations: 383 kB / 1.211 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 6.49e-05/1.191, allocations: 8.031 kB / 1.211 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.279e-05/1.191, allocations: 8.844 kB / 1.211 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002145/1.192, allocations: 183.2 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/1.192, allocations: 384 / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/1.192, allocations: 4.375 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004368/1.192, allocations: 78.14 kB / 1.211 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/1.192, allocations: 4.188 kB / 1.211 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/1.192, allocations: 3.938 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/1.192, allocations: 0 / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005157/1.193, allocations: 75.92 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006691/1.193, allocations: 284.9 kB / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003765/1.194, allocations: 74.47 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002963/1.194, allocations: 36.92 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004337/1.195, allocations: 117 kB / 1.211 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.086e-05/1.195, allocations: 30.56 kB / 1.211 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 2.475e-06/1.195, allocations: 0 / 1.211 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0009687/1.196, allocations: 145.5 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/1.196, allocations: 59.41 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/1.196, allocations: 121.8 kB / 1.212 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/1.196, allocations: 29.7 kB / 1.212 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.987e-05/1.196, allocations: 96.03 kB / 1.212 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.765e-05/1.196, allocations: 11.91 kB / 1.212 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-05/1.196, allocations: 9.719 kB / 1.212 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001956/1.196, allocations: 318.8 kB / 1.212 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000264/1.197, allocations: 39.95 kB / 1.212 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002635/1.197, allocations: 35.95 kB / 1.212 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004527/1.197, allocations: 81.06 kB / 1.212 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/1.197, allocations: 0 / 1.212 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005604/1.198, allocations: 121.4 kB / 1.212 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/1.198, allocations: 9.875 kB / 1.212 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/1.198, allocations: 0 / 1.212 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/1.198, allocations: 3.984 kB / 1.213 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001991/1.198, allocations: 11.98 kB / 1.213 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.591e-05/1.198, allocations: 4 kB / 1.213 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001321/1.199, allocations: 15.92 kB / 1.213 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/1.199, allocations: 4 kB / 1.213 GB, free: 9.172 MB / 0.9356 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.0001404/1.199, allocations: 121.8 kB / 1.213 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.757e-05/1.199, allocations: 0 / 1.213 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006156/1.199, allocations: 129.4 kB / 1.213 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/1.199, allocations: 0 / 1.213 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/1.199, allocations: 4 kB / 1.213 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.126e-05/1.2, allocations: 85.02 kB / 1.213 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.418e-05/1.2, allocations: 3.984 kB / 1.213 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001895/1.2, allocations: 11.98 kB / 1.213 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.526e-05/1.2, allocations: 3.938 kB / 1.213 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006343/1.2, allocations: 200.9 kB / 1.213 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006158/1.201, allocations: 286.6 kB / 1.213 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000232/1.201, allocations: 47.89 kB / 1.213 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.653e-05/1.201, allocations: 99.27 kB / 1.213 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of Backend: time 4.71e-07/1.201, allocations: 0 / 1.213 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007519/1.202, allocations: 118.4 kB / 1.214 GB, free: 8.008 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0005804/1.203, allocations: 0.5843 MB / 1.214 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of Templates: time 0.003751/1.207, allocations: 1.012 MB / 1.215 GB, free: 6.371 MB / 0.9356 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches