Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_9_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.00147/0.001471, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001335/0.001335, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.504/1.504, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.585/2.585, allocations: 390.2 MB / 0.6642 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001215, allocations: 67.89 kB / 0.8118 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9388/0.94, allocations: 140.4 MB / 0.9489 GB, free: 9.234 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.003921/0.944, allocations: 1.541 MB / 0.9504 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004947/0.9445, allocations: 108.3 kB / 0.9505 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.358e-05/0.9446, allocations: 1.062 kB / 0.9505 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.021e-05/0.9447, allocations: 3.938 kB / 0.9505 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.9448, allocations: 10.11 kB / 0.9505 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002636/0.9451, allocations: 15.05 kB / 0.9506 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001241/0.9452, allocations: 42.27 kB / 0.9506 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.9454, allocations: 12.92 kB / 0.9506 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.257e-05/0.9455, allocations: 16.91 kB / 0.9506 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.447e-05/0.9455, allocations: 22.7 kB / 0.9506 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.383e-05/0.9456, allocations: 2.531 kB / 0.9506 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.482e-05/0.9457, allocations: 21.52 kB / 0.9507 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.409e-05/0.9457, allocations: 11.64 kB / 0.9507 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.77e-05/0.9458, allocations: 19.88 kB / 0.9507 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001951/0.946, allocations: 57.94 kB / 0.9508 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.946, allocations: 5.344 kB / 0.9508 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.252e-06/0.946, allocations: 3.938 kB / 0.9508 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.744e-06/0.946, allocations: 0 / 0.9508 GB, free: 7.77 MB / 0.7169 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.0006536/0.9467, allocations: 372.3 kB / 0.9511 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.694e-05/0.9468, allocations: 10.19 kB / 0.9511 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.014e-05/0.9469, allocations: 3.562 kB / 0.9511 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.947, allocations: 184.9 kB / 0.9513 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.947, allocations: 4.375 kB / 0.9513 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.621e-05/0.9471, allocations: 3.031 kB / 0.9513 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003664/0.9474, allocations: 70.56 kB / 0.9514 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.9475, allocations: 192 / 0.9514 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.9475, allocations: 5.25 kB / 0.9514 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.9475, allocations: 0 / 0.9514 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003854/0.9479, allocations: 84.38 kB / 0.9515 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005094/0.9484, allocations: 281.9 kB / 0.9517 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002721/0.9487, allocations: 71.48 kB / 0.9518 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001951/0.9489, allocations: 48.25 kB / 0.9519 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003607/0.9493, allocations: 109.9 kB / 0.952 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.9493, allocations: 35.75 kB / 0.952 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.724e-06/0.9493, allocations: 0 / 0.952 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0006923/0.95, allocations: 151.2 kB / 0.9521 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.834e-05/0.9501, allocations: 51.41 kB / 0.9522 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.9502, allocations: 126.4 kB / 0.9523 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.9502, allocations: 25.7 kB / 0.9523 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.322e-05/0.9503, allocations: 94.73 kB / 0.9524 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.35e-05/0.9503, allocations: 5.219 kB / 0.9524 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.453e-05/0.9503, allocations: 16.52 kB / 0.9524 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.053e-05/0.9504, allocations: 321.3 kB / 0.9527 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001798/0.9506, allocations: 36.11 kB / 0.9528 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001702/0.9508, allocations: 33.59 kB / 0.9528 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003551/0.9512, allocations: 91.61 kB / 0.9529 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.9512, allocations: 3.938 kB / 0.9529 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004046/0.9516, allocations: 106.5 kB / 0.953 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.9516, allocations: 10.19 kB / 0.953 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.9516, allocations: 0 / 0.953 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.239e-05/0.9516, allocations: 0 / 0.953 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.9518, allocations: 21.88 kB / 0.953 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.9518, allocations: 5.172 kB / 0.953 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/0.9519, allocations: 14.98 kB / 0.9531 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.952, allocations: 1.375 kB / 0.9531 GB, free: 5.641 MB / 0.7169 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 7.737e-05/0.952, allocations: 117.5 kB / 0.9532 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.633e-05/0.9521, allocations: 10.81 kB / 0.9532 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000445/0.9525, allocations: 121.5 kB / 0.9533 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.9525, allocations: 3.938 kB / 0.9533 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.9526, allocations: 4 kB / 0.9533 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.9526, allocations: 1 kB / 0.9533 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002034/0.9528, allocations: 179.9 kB / 0.9535 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.9528, allocations: 4 kB / 0.9535 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/0.9529, allocations: 14.73 kB / 0.9535 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.9529, allocations: 1.312 kB / 0.9535 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.953, allocations: 7.938 kB / 0.9535 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.953, allocations: 0 / 0.9535 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.953, allocations: 1.469 kB / 0.9535 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004153/0.9534, allocations: 217 kB / 0.9537 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.38e-05/0.9534, allocations: 78.3 kB / 0.9538 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.9535, allocations: 5.516 kB / 0.9538 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/0.9536, allocations: 9.609 kB / 0.9538 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.669e-05/0.9537, allocations: 6.375 kB / 0.9538 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-06/0.9537, allocations: 0.9062 kB / 0.9538 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.484e-05/0.9537, allocations: 107.2 kB / 0.9539 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9538, allocations: 4 kB / 0.9539 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003771/0.9541, allocations: 9.688 kB / 0.9539 GB, free: 4.812 MB / 0.7169 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.000154/0.9543, allocations: 100.7 kB / 0.954 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004102/0.9547, allocations: 78.02 kB / 0.9541 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.9547, allocations: 5.156 kB / 0.9541 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001826/0.9549, allocations: 43.95 kB / 0.9541 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.9553, allocations: 11.53 kB / 0.9541 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003869/0.9557, allocations: 157.9 kB / 0.9543 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001478/0.9558, allocations: 0.6925 MB / 0.955 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.341e-05/0.9559, allocations: 1.406 kB / 0.955 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.001e-05/0.9559, allocations: 12.28 kB / 0.955 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.9559, allocations: 0 / 0.955 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of Templates: time 0.003894/0.9598, allocations: 0.6599 MB / 0.9556 GB, free: 3.461 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_Biquadratic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches