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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.009195/0.009195, allocations: 99.56 kB / 15.73 MB, free: 6.059 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.002078/0.002078, allocations: 193.9 kB / 16.67 MB, free: 5.969 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.642/2.642, allocations: 472.6 MB / 0.7453 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 59.84 kB / 1.069 GB, free: 9.648 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8494/0.8506, allocations: 159.9 MB / 1.226 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002964/0.8536, allocations: 1.491 MB / 1.227 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0003366/0.854, allocations: 107.7 kB / 1.227 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.577e-05/0.854, allocations: 0 / 1.227 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.297e-05/0.8541, allocations: 11.92 kB / 1.227 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.081e-05/0.8541, allocations: 3.938 kB / 1.227 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001979/0.8543, allocations: 23.95 kB / 1.227 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 8.618e-05/0.8544, allocations: 47.8 kB / 1.227 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.8546, allocations: 15.98 kB / 1.227 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 5.757e-05/0.8546, allocations: 11.98 kB / 1.227 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.548e-05/0.8547, allocations: 27.86 kB / 1.227 GB, free: 12 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.8547, allocations: 4 kB / 1.227 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 6.52e-05/0.8548, allocations: 19.98 kB / 1.227 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 6.889e-05/0.8549, allocations: 7.984 kB / 1.227 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.026e-05/0.8549, allocations: 15.88 kB / 1.227 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001312/0.855, allocations: 64.7 kB / 1.227 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.8551, allocations: 4 kB / 1.227 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of FrontEnd: time 9.02e-07/0.8551, allocations: 0 / 1.227 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.356e-06/0.8551, allocations: 0 / 1.227 GB, free: 11.88 MB / 0.9512 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.0004965/0.8556, allocations: 379.2 kB / 1.228 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.8556, allocations: 8.031 kB / 1.228 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.127e-05/0.8557, allocations: 12.83 kB / 1.228 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.8558, allocations: 179.3 kB / 1.228 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.8558, allocations: 384 / 1.228 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.8558, allocations: 384 / 1.228 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002636/0.8561, allocations: 82.2 kB / 1.228 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.8561, allocations: 192 / 1.228 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.8561, allocations: 3.938 kB / 1.228 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.341e-06/0.8561, allocations: 7.875 kB / 1.228 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002797/0.8564, allocations: 75.92 kB / 1.228 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003866/0.8568, allocations: 296.8 kB / 1.228 GB, free: 10.72 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002314/0.857, allocations: 70.47 kB / 1.228 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.8572, allocations: 40.91 kB / 1.228 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002367/0.8574, allocations: 113.1 kB / 1.229 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.8575, allocations: 30.56 kB / 1.229 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.333e-06/0.8575, allocations: 0 / 1.229 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.000545/0.858, allocations: 145.5 kB / 1.229 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.654e-05/0.8581, allocations: 55.41 kB / 1.229 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.8582, allocations: 125.8 kB / 1.229 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.8582, allocations: 29.7 kB / 1.229 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.858e-05/0.8583, allocations: 92.09 kB / 1.229 GB, free: 9.953 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.49e-05/0.8583, allocations: 15.88 kB / 1.229 GB, free: 9.938 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/0.8584, allocations: 13.72 kB / 1.229 GB, free: 9.918 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002554/0.8586, allocations: 318.8 kB / 1.229 GB, free: 9.598 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.8588, allocations: 39.95 kB / 1.229 GB, free: 9.559 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000151/0.8589, allocations: 35.95 kB / 1.229 GB, free: 9.523 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002669/0.8592, allocations: 80.78 kB / 1.23 GB, free: 9.441 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.8592, allocations: 3.938 kB / 1.23 GB, free: 9.438 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003179/0.8595, allocations: 113.5 kB / 1.23 GB, free: 9.32 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.8596, allocations: 4 kB / 1.23 GB, free: 9.316 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.8596, allocations: 4 kB / 1.23 GB, free: 9.312 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.8596, allocations: 0 / 1.23 GB, free: 9.312 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.8597, allocations: 15.97 kB / 1.23 GB, free: 9.297 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.8597, allocations: 0 / 1.23 GB, free: 9.297 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.607e-05/0.8598, allocations: 15.98 kB / 1.23 GB, free: 9.281 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.8598, allocations: 4 kB / 1.23 GB, free: 9.277 MB / 0.9512 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 9.936e-05/0.8599, allocations: 118.3 kB / 1.23 GB, free: 9.152 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/0.86, allocations: 7.953 kB / 1.23 GB, free: 9.145 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003803/0.8604, allocations: 125.4 kB / 1.23 GB, free: 9.008 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.8604, allocations: 4 kB / 1.23 GB, free: 9.004 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.8604, allocations: 0 / 1.23 GB, free: 9.004 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.8604, allocations: 0 / 1.23 GB, free: 9.004 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001876/0.8606, allocations: 181.6 kB / 1.23 GB, free: 8.777 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.8606, allocations: 0 / 1.23 GB, free: 8.777 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.055e-05/0.8607, allocations: 19.92 kB / 1.23 GB, free: 8.758 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.8607, allocations: 0 / 1.23 GB, free: 8.758 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.8607, allocations: 0 / 1.23 GB, free: 8.758 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.8607, allocations: 0 / 1.23 GB, free: 8.758 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.8607, allocations: 3.984 kB / 1.23 GB, free: 8.754 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003701/0.8611, allocations: 215.7 kB / 1.23 GB, free: 8.527 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.723e-05/0.8612, allocations: 89.06 kB / 1.23 GB, free: 8.422 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.8612, allocations: 0 / 1.23 GB, free: 8.422 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.8613, allocations: 15.98 kB / 1.23 GB, free: 8.406 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/0.8614, allocations: 8 kB / 1.23 GB, free: 8.398 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.8614, allocations: 0 / 1.23 GB, free: 8.398 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.71e-05/0.8614, allocations: 103.2 kB / 1.231 GB, free: 8.297 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8614, allocations: 0 / 1.231 GB, free: 8.297 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002261/0.8617, allocations: 8 kB / 1.231 GB, free: 8.289 MB / 0.9512 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.0001587/0.8618, allocations: 103.2 kB / 1.231 GB, free: 8.18 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003436/0.8622, allocations: 75.92 kB / 1.231 GB, free: 8.105 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.8622, allocations: 0 / 1.231 GB, free: 8.105 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001565/0.8624, allocations: 51.89 kB / 1.231 GB, free: 8.055 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.8626, allocations: 3.938 kB / 1.231 GB, free: 8.051 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003277/0.8629, allocations: 156.2 kB / 1.231 GB, free: 7.875 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.8632, allocations: 0.6924 MB / 1.232 GB, free: 7.156 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.959e-05/0.8633, allocations: 3.859 kB / 1.232 GB, free: 7.152 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.304e-05/0.8633, allocations: 11.44 kB / 1.232 GB, free: 7.141 MB / 0.9512 GB Notification: Performance of SimCode: time 2.61e-07/0.8633, allocations: 0 / 1.232 GB, free: 7.141 MB / 0.9512 GB Notification: Performance of Templates: time 0.003252/0.8666, allocations: 0.7949 MB / 1.232 GB, free: 6.352 MB / 0.9512 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