Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009751/0.0009751, allocations: 80.8 kB / 20.75 MB, free: 3.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 161 kB / 24.17 MB, free: 332 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.035/1.035, allocations: 177.2 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.939/1.939, allocations: 377.9 MB / 0.624 GB, free: 8.355 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 0.7601 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.54e-05/1.674e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.434 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002068/0.002085, allocations: 1.601 MB / 0.7616 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0002654/0.00235, allocations: 109.3 kB / 0.7617 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.971e-05/0.00238, allocations: 0 / 0.7617 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.989e-05/0.00242, allocations: 4.906 kB / 0.7617 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.986e-05/0.002479, allocations: 12.81 kB / 0.7617 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001547/0.002634, allocations: 23.95 kB / 0.7618 GB, free: 4.703 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.177e-05/0.002706, allocations: 41.39 kB / 0.7618 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.907e-05/0.002775, allocations: 12.67 kB / 0.7618 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.712e-05/0.002832, allocations: 22.64 kB / 0.7618 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.068e-05/0.002873, allocations: 22.27 kB / 0.7619 GB, free: 4.621 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.002888, allocations: 4 kB / 0.7619 GB, free: 4.617 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.644e-05/0.002955, allocations: 23.97 kB / 0.7619 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.866e-05/0.002993, allocations: 6.297 kB / 0.7619 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.833e-05/0.003012, allocations: 21.66 kB / 0.7619 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 9.382e-05/0.003105, allocations: 43.88 kB / 0.762 GB, free: 4.531 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.392e-06/0.003107, allocations: 6 kB / 0.762 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.51e-07/0.003107, allocations: 0 / 0.762 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.366e-06/0.003111, allocations: 0 / 0.762 GB, free: 4.527 MB / 0.7136 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.0002867/0.003398, allocations: 276.7 kB / 0.7622 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.003429, allocations: 8.031 kB / 0.7622 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.495e-05/0.003454, allocations: 5.688 kB / 0.7622 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.023e-05/0.003534, allocations: 117.7 kB / 0.7623 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.814e-06/0.003542, allocations: 1.125 kB / 0.7624 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.374e-06/0.003549, allocations: 4.375 kB / 0.7624 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.003655, allocations: 70.38 kB / 0.7624 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.132e-06/0.003661, allocations: 2.375 kB / 0.7624 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.072e-06/0.003667, allocations: 384 / 0.7624 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.003672, allocations: 384 / 0.7624 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.236e-05/0.003694, allocations: 11.88 kB / 0.7624 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002018/0.003896, allocations: 165.9 kB / 0.7626 GB, free: 3.805 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.236e-05/0.003958, allocations: 74.97 kB / 0.7627 GB, free: 3.723 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.636e-05/0.003975, allocations: 8.859 kB / 0.7627 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.531e-05/0.00407, allocations: 29.31 kB / 0.7627 GB, free: 3.684 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/0.00409, allocations: 34.56 kB / 0.7627 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.004091, allocations: 1.094 kB / 0.7627 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001044/0.004195, allocations: 49.56 kB / 0.7628 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.891e-05/0.004224, allocations: 51.41 kB / 0.7628 GB, free: 3.523 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.355e-05/0.004288, allocations: 138.7 kB / 0.763 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.035e-06/0.004296, allocations: 25.7 kB / 0.763 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.76e-05/0.004324, allocations: 84.14 kB / 0.7631 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.749e-05/0.004341, allocations: 15.89 kB / 0.7631 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.326e-05/0.004364, allocations: 9.719 kB / 0.7631 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.878e-05/0.004433, allocations: 322.8 kB / 0.7634 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.274e-05/0.004446, allocations: 6.828 kB / 0.7634 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.05e-05/0.004456, allocations: 6.75 kB / 0.7634 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.908e-05/0.004485, allocations: 23.61 kB / 0.7634 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.004487, allocations: 0 / 0.7634 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.681e-05/0.004534, allocations: 37.69 kB / 0.7635 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.004545, allocations: 8 kB / 0.7635 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.004549, allocations: 0 / 0.7635 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.00456, allocations: 3.938 kB / 0.7635 GB, free: 2.812 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.824e-05/0.004618, allocations: 12.95 kB / 0.7635 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.495e-06/0.004621, allocations: 0 / 0.7635 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.094e-05/0.004642, allocations: 4.328 kB / 0.7635 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.004647, allocations: 4.875 kB / 0.7635 GB, free: 2.793 MB / 0.7136 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 4.915e-05/0.004696, allocations: 117.6 kB / 0.7636 GB, free: 2.668 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.513e-05/0.004711, allocations: 0 / 0.7636 GB, free: 2.668 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.796e-05/0.004779, allocations: 57.59 kB / 0.7637 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.247e-06/0.004782, allocations: 8.438 kB / 0.7637 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.714e-06/0.004784, allocations: 3.438 kB / 0.7637 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.004786, allocations: 0 / 0.7637 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.173e-05/0.004868, allocations: 77.81 kB / 0.7638 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.004869, allocations: 0 / 0.7638 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.899e-05/0.004898, allocations: 12 kB / 0.7638 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.004899, allocations: 0 / 0.7638 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-06/0.004904, allocations: 7.984 kB / 0.7638 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.004905, allocations: 0 / 0.7638 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.004906, allocations: 0 / 0.7638 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.855e-05/0.004985, allocations: 186.2 kB / 0.764 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.462e-06/0.004991, allocations: 6.797 kB / 0.764 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.328e-06/0.005001, allocations: 4 kB / 0.764 GB, free: 2.277 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.68e-05/0.005037, allocations: 7.984 kB / 0.764 GB, free: 2.27 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.68e-05/0.005064, allocations: 4 kB / 0.764 GB, free: 2.266 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.117e-06/0.005068, allocations: 7.938 kB / 0.764 GB, free: 2.258 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.063e-05/0.005089, allocations: 27.45 kB / 0.764 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.005089, allocations: 0 / 0.764 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001255/0.005214, allocations: 9.562 kB / 0.764 GB, free: 2.223 MB / 0.7136 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 9.041e-05/0.005305, allocations: 80.41 kB / 0.7641 GB, free: 2.137 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.678e-05/0.005362, allocations: 15.58 kB / 0.7641 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.005364, allocations: 0 / 0.7641 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.756e-05/0.005381, allocations: 16.8 kB / 0.7641 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000127/0.005508, allocations: 11.98 kB / 0.7641 GB, free: 2.09 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002131/0.005722, allocations: 146.1 kB / 0.7643 GB, free: 1.918 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.079e-05/0.005752, allocations: 63.02 kB / 0.7643 GB, free: 1.84 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.86e-05/0.005771, allocations: 3.984 kB / 0.7643 GB, free: 1.836 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.311e-05/0.005814, allocations: 59.38 kB / 0.7644 GB, free: 1.777 MB / 0.7136 GB Notification: Performance of SimCode: time 3.71e-07/0.005814, allocations: 0 / 0.7644 GB, free: 1.777 MB / 0.7136 GB Notification: Performance of Templates: time 0.002182/0.007997, allocations: 0.79 MB / 0.7652 GB, free: 1.023 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Biquadratic.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.165416812989861]