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.001506/0.001506, allocations: 109.5 kB / 16.41 MB, free: 6.488 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.001857/0.001857, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.386/1.386, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.333/2.333, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 63.89 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9536/0.9551, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002513/0.9576, allocations: 1.477 MB / 1.09 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003052/0.9579, allocations: 118.6 kB / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.732e-05/0.958, allocations: 0 / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.486e-05/0.9581, allocations: 2.156 kB / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.006e-05/0.9581, allocations: 14.03 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000218/0.9583, allocations: 16.44 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.012e-05/0.9584, allocations: 48.03 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.9586, allocations: 10 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.84e-05/0.9586, allocations: 18.14 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.083e-05/0.9587, allocations: 22.94 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.9587, allocations: 3.25 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.563e-05/0.9588, allocations: 23.48 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.014e-05/0.9588, allocations: 14.72 kB / 1.09 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.314e-05/0.9589, allocations: 22.42 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00014/0.959, allocations: 56.22 kB / 1.09 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.959, allocations: 1.344 kB / 1.09 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.463e-06/0.959, allocations: 0 / 1.09 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.491e-06/0.9591, allocations: 0 / 1.09 GB, free: 4.293 MB / 0.8575 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.0004942/0.9596, allocations: 375.2 kB / 1.091 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.9596, allocations: 13.91 kB / 1.091 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.276e-05/0.9596, allocations: 7.062 kB / 1.091 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.459e-05/0.9597, allocations: 174.3 kB / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.9598, allocations: 5.922 kB / 1.091 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.9598, allocations: 6.281 kB / 1.091 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002662/0.96, allocations: 73.11 kB / 1.091 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.9601, allocations: 1.188 kB / 1.091 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.9601, allocations: 3.938 kB / 1.091 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.9601, allocations: 5.062 kB / 1.091 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003152/0.9604, allocations: 75.73 kB / 1.091 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003359/0.9608, allocations: 280.2 kB / 1.091 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002129/0.961, allocations: 76.28 kB / 1.091 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/0.9611, allocations: 42.89 kB / 1.091 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002309/0.9614, allocations: 109.3 kB / 1.092 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.714e-05/0.9614, allocations: 40.78 kB / 1.092 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.9614, allocations: 0 / 1.092 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005675/0.962, allocations: 143 kB / 1.092 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.291e-05/0.962, allocations: 55.34 kB / 1.092 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.878e-05/0.9621, allocations: 130.2 kB / 1.092 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.919e-06/0.9621, allocations: 29.7 kB / 1.092 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.748e-05/0.9622, allocations: 93.36 kB / 1.092 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.856e-05/0.9622, allocations: 9.594 kB / 1.092 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.941e-05/0.9622, allocations: 13.92 kB / 1.092 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.114e-05/0.9623, allocations: 318.2 kB / 1.092 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001603/0.9625, allocations: 35.81 kB / 1.092 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001484/0.9626, allocations: 40.03 kB / 1.092 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002973/0.9629, allocations: 79.92 kB / 1.093 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.9629, allocations: 7.875 kB / 1.093 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000337/0.9633, allocations: 113.5 kB / 1.093 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.9633, allocations: 5.094 kB / 1.093 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.9633, allocations: 0 / 1.093 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.9633, allocations: 1.609 kB / 1.093 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.9634, allocations: 15.36 kB / 1.093 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.9635, allocations: 0.7969 kB / 1.093 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.005e-05/0.9635, allocations: 18.86 kB / 1.093 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/0.9636, allocations: 2.203 kB / 1.093 GB, free: 2.383 MB / 0.8575 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 5.688e-05/0.9636, allocations: 118.8 kB / 1.093 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.618e-05/0.9637, allocations: 6.906 kB / 1.093 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003838/0.964, allocations: 119.5 kB / 1.093 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.686e-06/0.9641, allocations: 1.484 kB / 1.093 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.9641, allocations: 0 / 1.093 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-06/0.9641, allocations: 8.75 kB / 1.093 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000147/0.9642, allocations: 187.6 kB / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.9642, allocations: 0 / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.523e-05/0.9643, allocations: 16.31 kB / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.9643, allocations: 0.5156 kB / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.9643, allocations: 0.9062 kB / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.9644, allocations: 0 / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.9644, allocations: 1.641 kB / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003547/0.9647, allocations: 216.5 kB / 1.093 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.151e-05/0.9648, allocations: 86.61 kB / 1.093 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.9648, allocations: 1.672 kB / 1.093 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.9649, allocations: 12 kB / 1.093 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.672e-05/0.9649, allocations: 3.141 kB / 1.093 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-06/0.9649, allocations: 1.672 kB / 1.093 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.816e-05/0.965, allocations: 107.7 kB / 1.094 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9.02e-07/0.965, allocations: 3.938 kB / 1.094 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000229/0.9652, allocations: 12.72 kB / 1.094 GB, free: 1.633 MB / 0.8575 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.0001347/0.9654, allocations: 98.64 kB / 1.094 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003597/0.9658, allocations: 80.86 kB / 1.094 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.9658, allocations: 4 kB / 1.094 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000161/0.9659, allocations: 39.11 kB / 1.094 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.9662, allocations: 17.53 kB / 1.094 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003423/0.9665, allocations: 177 kB / 1.094 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001313/0.9667, allocations: 0.6866 MB / 1.095 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.857e-05/0.9667, allocations: 13.31 kB / 1.095 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of SimCode: time 2.11e-07/0.9667, allocations: 0 / 1.095 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of Templates: time 0.002581/0.9693, allocations: 0.8918 MB / 1.096 GB, free: 0.582 MB / 0.8575 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches