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.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.0009108/0.0009108, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009577/0.0009577, allocations: 169.3 kB / 23.02 MB, free: 1.551 MB / 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 0.9956/0.9956, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.112/2.112, allocations: 429.5 MB / 0.6732 GB, free: 4.039 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.8782 GB, free: 6.297 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.195e-05/2.337e-05, allocations: 2.875 kB / 0.8782 GB, free: 6.293 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002018/0.002042, allocations: 1.549 MB / 0.8797 GB, free: 4.758 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0002742/0.002316, allocations: 107.7 kB / 0.8798 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.217e-05/0.002348, allocations: 0.7188 kB / 0.8798 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.465e-05/0.002403, allocations: 9.031 kB / 0.8798 GB, free: 4.645 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.164e-05/0.002464, allocations: 6.344 kB / 0.8798 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002037/0.002668, allocations: 25.55 kB / 0.8798 GB, free: 4.617 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.545e-05/0.002744, allocations: 47.8 kB / 0.8799 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.155e-05/0.002835, allocations: 7.984 kB / 0.8799 GB, free: 4.562 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.452e-05/0.00289, allocations: 19.98 kB / 0.8799 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.886e-05/0.002939, allocations: 22.09 kB / 0.8799 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.002956, allocations: 4 kB / 0.8799 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.944e-05/0.003016, allocations: 19.98 kB / 0.8799 GB, free: 4.5 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.639e-05/0.003062, allocations: 11.98 kB / 0.88 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.542e-05/0.003088, allocations: 15.92 kB / 0.88 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.00012/0.003208, allocations: 50.17 kB / 0.88 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.003209, allocations: 0 / 0.88 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.002e-06/0.00321, allocations: 0 / 0.88 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.003216, allocations: 4 kB / 0.88 GB, free: 4.422 MB / 0.8386 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.0003864/0.003602, allocations: 392.3 kB / 0.8804 GB, free: 4 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.003639, allocations: 12.03 kB / 0.8804 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.022e-05/0.00368, allocations: 13.61 kB / 0.8804 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.721e-05/0.003767, allocations: 120.5 kB / 0.8805 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.003779, allocations: 2.031 kB / 0.8805 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.003793, allocations: 4.375 kB / 0.8805 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.003938, allocations: 66.88 kB / 0.8806 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.003951, allocations: 192 / 0.8806 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.003961, allocations: 1.719 kB / 0.8806 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.003969, allocations: 384 / 0.8806 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.527e-05/0.004005, allocations: 15.92 kB / 0.8806 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002908/0.004295, allocations: 267.9 kB / 0.8809 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.947e-05/0.004365, allocations: 42.98 kB / 0.8809 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.399e-05/0.004389, allocations: 7.688 kB / 0.8809 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001341/0.004523, allocations: 32.06 kB / 0.881 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.004544, allocations: 37.39 kB / 0.881 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.004545, allocations: 0 / 0.881 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001562/0.004701, allocations: 57.56 kB / 0.881 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.506e-05/0.004726, allocations: 55.41 kB / 0.8811 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.141e-05/0.004808, allocations: 189.6 kB / 0.8813 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/0.004819, allocations: 29.7 kB / 0.8813 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.174e-05/0.00487, allocations: 138.9 kB / 0.8814 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.91e-05/0.00489, allocations: 11.91 kB / 0.8814 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.524e-05/0.004915, allocations: 19.38 kB / 0.8815 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.00502, allocations: 0.5 MB / 0.882 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.775e-05/0.005038, allocations: 4 kB / 0.882 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.262e-05/0.00505, allocations: 0 / 0.882 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.491e-05/0.005085, allocations: 23.69 kB / 0.882 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.005087, allocations: 0 / 0.882 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.648e-05/0.005144, allocations: 45.69 kB / 0.882 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.005157, allocations: 7.938 kB / 0.882 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.005162, allocations: 3.938 kB / 0.882 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.005177, allocations: 4 kB / 0.882 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.844e-05/0.005245, allocations: 7.984 kB / 0.882 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.005249, allocations: 4 kB / 0.8821 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.452e-05/0.005274, allocations: 11.94 kB / 0.8821 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.00528, allocations: 4 kB / 0.8821 GB, free: 2.117 MB / 0.8386 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.626e-05/0.005336, allocations: 152.6 kB / 0.8822 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.526e-05/0.005351, allocations: 8 kB / 0.8822 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.385e-05/0.005445, allocations: 53.62 kB / 0.8823 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.005447, allocations: 3.984 kB / 0.8823 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.00545, allocations: 0 / 0.8823 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.005454, allocations: 0 / 0.8823 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.343e-05/0.005547, allocations: 132.6 kB / 0.8824 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.005548, allocations: 0 / 0.8824 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.896e-05/0.005577, allocations: 15.92 kB / 0.8824 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.005578, allocations: 0 / 0.8824 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.005584, allocations: 0 / 0.8824 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.005586, allocations: 3.938 kB / 0.8824 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.005587, allocations: 4 kB / 0.8824 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.202e-05/0.005679, allocations: 195.9 kB / 0.8826 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.414e-06/0.005686, allocations: 3.953 kB / 0.8826 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.042e-05/0.005697, allocations: 8 kB / 0.8826 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.762e-05/0.005734, allocations: 11.92 kB / 0.8826 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.911e-05/0.005774, allocations: 0 / 0.8826 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.005776, allocations: 0 / 0.8826 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.127e-05/0.005818, allocations: 139.2 kB / 0.8828 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.005818, allocations: 0 / 0.8828 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001474/0.005965, allocations: 8 kB / 0.8828 GB, free: 1.32 MB / 0.8386 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.0001/0.006065, allocations: 115.1 kB / 0.8829 GB, free: 1.195 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.787e-05/0.006143, allocations: 16.11 kB / 0.8829 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.006144, allocations: 0 / 0.8829 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.121e-05/0.006165, allocations: 15.77 kB / 0.8829 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001793/0.006345, allocations: 19.94 kB / 0.8829 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002649/0.006609, allocations: 162 kB / 0.8831 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.639e-05/0.006646, allocations: 67.28 kB / 0.8832 GB, free: 0.8633 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.692e-05/0.006663, allocations: 0 / 0.8832 GB, free: 0.8633 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.384e-05/0.006687, allocations: 12.5 kB / 0.8832 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of SimCode: time 6.51e-07/0.006687, allocations: 0 / 0.8832 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of Templates: time 0.00232/0.009008, allocations: 0.847 MB / 0.884 GB, free: 12 kB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.37899348558858]