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.0009568/0.0009569, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.006241/0.006241, allocations: 171.1 kB / 16.27 MB, free: 6.648 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.413/1.413, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.796/2.796, allocations: 462.7 MB / 0.7364 GB, free: 300 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003288/0.0003288, allocations: 12.88 kB / 0.9028 GB, free: 36.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3332, allocations: 159.6 MB / 1.059 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.00169/0.335, allocations: 1.21 MB / 1.06 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003454/0.3353, allocations: 107.7 kB / 1.06 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.813e-05/0.3354, allocations: 0 / 1.06 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.28e-05/0.3354, allocations: 3.938 kB / 1.06 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.121e-05/0.3355, allocations: 7.938 kB / 1.06 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001759/0.3357, allocations: 23.97 kB / 1.06 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.053e-05/0.3357, allocations: 39.84 kB / 1.06 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.3358, allocations: 8 kB / 1.06 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.935e-05/0.3359, allocations: 15.98 kB / 1.06 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.966e-05/0.336, allocations: 23.8 kB / 1.06 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.336, allocations: 4 kB / 1.06 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.875e-05/0.3361, allocations: 15.98 kB / 1.06 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.596e-05/0.3361, allocations: 7.984 kB / 1.06 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.181e-05/0.3362, allocations: 49.56 kB / 1.06 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001196/0.3363, allocations: 55.8 kB / 1.06 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3363, allocations: 0 / 1.06 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3363, allocations: 0 / 1.06 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.3363, allocations: 0 / 1.06 GB, free: 3.895 MB / 0.8106 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.0005425/0.3369, allocations: 383.5 kB / 1.061 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.3369, allocations: 12.03 kB / 1.061 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.491e-05/0.3369, allocations: 4.844 kB / 1.061 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.3371, allocations: 168.3 kB / 1.061 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.3371, allocations: 4.375 kB / 1.061 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.3371, allocations: 8.359 kB / 1.061 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002848/0.3374, allocations: 86.22 kB / 1.061 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.3374, allocations: 192 / 1.061 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.3375, allocations: 7.875 kB / 1.061 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.932e-06/0.3375, allocations: 0 / 1.061 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003384/0.3378, allocations: 95.92 kB / 1.061 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003873/0.3382, allocations: 292.8 kB / 1.061 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002298/0.3384, allocations: 82.47 kB / 1.061 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001795/0.3386, allocations: 56.91 kB / 1.061 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002322/0.3389, allocations: 109 kB / 1.061 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/0.3389, allocations: 34.56 kB / 1.061 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.322e-06/0.3389, allocations: 0 / 1.061 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0006263/0.3395, allocations: 177.6 kB / 1.062 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/0.3396, allocations: 51.41 kB / 1.062 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.3397, allocations: 137 kB / 1.062 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.3397, allocations: 25.7 kB / 1.062 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.435e-05/0.3398, allocations: 99.97 kB / 1.062 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.063e-05/0.3398, allocations: 7.906 kB / 1.062 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.726e-05/0.3399, allocations: 9.719 kB / 1.062 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.34, allocations: 326.8 kB / 1.062 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001697/0.3402, allocations: 43.97 kB / 1.062 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000165/0.3403, allocations: 55.89 kB / 1.062 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003323/0.3407, allocations: 96.78 kB / 1.062 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.3407, allocations: 3.938 kB / 1.062 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003822/0.3411, allocations: 133.8 kB / 1.063 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.3411, allocations: 7.984 kB / 1.063 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.3411, allocations: 4 kB / 1.063 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.3411, allocations: 0 / 1.063 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.3413, allocations: 20.03 kB / 1.063 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/0.3413, allocations: 4 kB / 1.063 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.847e-05/0.3414, allocations: 19.97 kB / 1.063 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.3414, allocations: 0 / 1.063 GB, free: 1.137 MB / 0.8106 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 8.444e-05/0.3415, allocations: 125.7 kB / 1.063 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.446e-05/0.3415, allocations: 0 / 1.063 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004238/0.3419, allocations: 141.5 kB / 1.063 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.342, allocations: 8 kB / 1.063 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.342, allocations: 4 kB / 1.063 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.342, allocations: 0 / 1.063 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001918/0.3422, allocations: 181.5 kB / 1.063 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.3422, allocations: 0 / 1.063 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.3423, allocations: 23.97 kB / 1.063 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.3423, allocations: 0 / 1.063 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-06/0.3423, allocations: 7.938 kB / 1.063 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3423, allocations: 4 kB / 1.063 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3423, allocations: 0 / 1.063 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004148/0.3427, allocations: 231.3 kB / 1.063 GB, free: 348 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.838e-05/0.3428, allocations: 85.02 kB / 1.063 GB, free: 244 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.3428, allocations: 0 / 1.063 GB, free: 244 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.343, allocations: 19.98 kB / 1.063 GB, free: 224 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.306e-05/0.343, allocations: 7.984 kB / 1.063 GB, free: 216 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.343, allocations: 0 / 1.063 GB, free: 216 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.344e-05/0.3431, allocations: 103.2 kB / 1.064 GB, free: 112 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3431, allocations: 0 / 1.064 GB, free: 112 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000233/0.3433, allocations: 12 kB / 1.064 GB, free: 100 kB / 0.8106 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.0001642/0.3435, allocations: 95.25 kB / 1.064 GB, free: 16 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003884/0.3439, allocations: 107.8 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3439, allocations: 0 / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001725/0.3441, allocations: 51.97 kB / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/0.3444, allocations: 16.48 kB / 1.064 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003561/0.3447, allocations: 172.6 kB / 1.064 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/0.345, allocations: 0.6887 MB / 1.065 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.497e-05/0.345, allocations: 3.859 kB / 1.065 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.671e-05/0.3451, allocations: 11.44 kB / 1.065 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/0.3451, allocations: 0 / 1.065 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of Templates: time 0.003029/0.3481, allocations: 0.6578 MB / 1.065 GB, free: 14.25 MB / 0.8262 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