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.00152/0.00152, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001738/0.001738, allocations: 165.2 kB / 24.86 MB, free: 8.883 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.983/0.983, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.913/1.913, allocations: 377.9 MB / 0.6247 GB, free: 8.398 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.182e-06/1.182e-06, allocations: 0.6562 kB / 0.8128 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.16e-05/1.278e-05, allocations: 6.25 kB / 0.8128 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002004/0.002017, allocations: 1.537 MB / 0.8143 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0002242/0.002241, allocations: 101.1 kB / 0.8144 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.166e-05/0.002273, allocations: 4 kB / 0.8144 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.482e-05/0.002318, allocations: 3.938 kB / 0.8144 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.2e-05/0.00237, allocations: 8.781 kB / 0.8144 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001596/0.00253, allocations: 20.47 kB / 0.8144 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.716e-05/0.002597, allocations: 47.84 kB / 0.8145 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.425e-05/0.002671, allocations: 12.67 kB / 0.8145 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 4.987e-05/0.002721, allocations: 20.89 kB / 0.8145 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.264e-05/0.002763, allocations: 19.91 kB / 0.8145 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.495e-05/0.002778, allocations: 4 kB / 0.8145 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 4.833e-05/0.002827, allocations: 20.64 kB / 0.8145 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.592e-05/0.002863, allocations: 8 kB / 0.8145 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.907e-05/0.002882, allocations: 16.8 kB / 0.8146 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 9.467e-05/0.002976, allocations: 51.75 kB / 0.8146 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.002978, allocations: 1.25 kB / 0.8146 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.353e-06/0.002979, allocations: 4 kB / 0.8146 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.206e-06/0.002983, allocations: 0 / 0.8146 GB, free: 15.6 MB / 0.7761 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.0003069/0.00329, allocations: 394.1 kB / 0.815 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 2.833e-05/0.003318, allocations: 12.03 kB / 0.815 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.627e-05/0.003344, allocations: 8.891 kB / 0.815 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.667e-05/0.003421, allocations: 120.5 kB / 0.8151 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.003431, allocations: 5.656 kB / 0.8151 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.675e-06/0.003439, allocations: 4.375 kB / 0.8151 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.977e-05/0.003539, allocations: 66.94 kB / 0.8152 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.003545, allocations: 1 kB / 0.8152 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.891e-06/0.003551, allocations: 384 / 0.8152 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.003555, allocations: 1.281 kB / 0.8152 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.359e-05/0.003579, allocations: 15.86 kB / 0.8152 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002235/0.003802, allocations: 253.6 kB / 0.8155 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.224e-05/0.003855, allocations: 31.06 kB / 0.8155 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.879e-05/0.003873, allocations: 15.83 kB / 0.8155 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.368e-05/0.003967, allocations: 29.73 kB / 0.8155 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.003987, allocations: 38.23 kB / 0.8156 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.003988, allocations: 0 / 0.8156 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001162/0.004104, allocations: 50.14 kB / 0.8156 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.605e-05/0.00413, allocations: 55.41 kB / 0.8157 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.03e-05/0.0042, allocations: 179 kB / 0.8158 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.004211, allocations: 29.7 kB / 0.8159 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.439e-05/0.004255, allocations: 134.9 kB / 0.816 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/0.004273, allocations: 13.77 kB / 0.816 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.414e-05/0.004297, allocations: 19.38 kB / 0.816 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.004405, allocations: 0.4923 MB / 0.8165 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.187e-05/0.004417, allocations: 7.938 kB / 0.8165 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.718e-06/0.004427, allocations: 0 / 0.8165 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.756e-05/0.004454, allocations: 25.14 kB / 0.8165 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.004456, allocations: 4 kB / 0.8165 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.837e-05/0.004504, allocations: 37.66 kB / 0.8166 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.448e-06/0.004513, allocations: 8 kB / 0.8166 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.004517, allocations: 3.438 kB / 0.8166 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.817e-06/0.004526, allocations: 3.938 kB / 0.8166 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.291e-05/0.004578, allocations: 11.98 kB / 0.8166 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.134e-06/0.004581, allocations: 0 / 0.8166 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.386e-05/0.004604, allocations: 7.984 kB / 0.8166 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.00461, allocations: 0 / 0.8166 GB, free: 13.36 MB / 0.7761 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 6.678e-05/0.004676, allocations: 168.5 kB / 0.8168 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.744e-05/0.004694, allocations: 7.953 kB / 0.8168 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.771e-05/0.004772, allocations: 50.5 kB / 0.8168 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.004774, allocations: 4.484 kB / 0.8168 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.004778, allocations: 4.516 kB / 0.8168 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.00478, allocations: 4 kB / 0.8168 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.345e-05/0.004874, allocations: 109.8 kB / 0.817 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.004874, allocations: 1.406 kB / 0.817 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.938e-05/0.004904, allocations: 8 kB / 0.817 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.004905, allocations: 0 / 0.817 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.079e-06/0.00491, allocations: 4 kB / 0.817 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.004911, allocations: 0.5312 kB / 0.817 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.004912, allocations: 0.625 kB / 0.817 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.889e-05/0.005001, allocations: 203.8 kB / 0.8172 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.532e-06/0.005008, allocations: 5.953 kB / 0.8172 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.447e-06/0.005017, allocations: 4 kB / 0.8172 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.781e-05/0.005055, allocations: 4 kB / 0.8172 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.532e-05/0.00508, allocations: 11.92 kB / 0.8172 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/0.005083, allocations: 0 / 0.8172 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.121e-05/0.005124, allocations: 134 kB / 0.8173 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.005124, allocations: 0 / 0.8173 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001515/0.005275, allocations: 20.67 kB / 0.8173 GB, free: 12.58 MB / 0.7761 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 8.375e-05/0.005359, allocations: 96.06 kB / 0.8174 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.57e-05/0.005425, allocations: 28.48 kB / 0.8174 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 7.61e-07/0.005426, allocations: 0 / 0.8174 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.161e-05/0.005447, allocations: 15.67 kB / 0.8175 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001739/0.005621, allocations: 17.27 kB / 0.8175 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002195/0.005841, allocations: 147.1 kB / 0.8176 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.995e-05/0.005881, allocations: 63.2 kB / 0.8177 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.159e-05/0.005902, allocations: 10.19 kB / 0.8177 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.06e-05/0.005953, allocations: 74.19 kB / 0.8178 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of SimCode: time 5.31e-07/0.005953, allocations: 0 / 0.8178 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of Templates: time 0.002428/0.008382, allocations: 0.9413 MB / 0.8187 GB, free: 11.16 MB / 0.7761 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 -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.077576901763678]