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.001277/0.001277, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.001374/0.001374, allocations: 165 kB / 23.82 MB, free: 0.7422 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.9512/0.9512, allocations: 177.1 MB / 204.2 MB, free: 5.242 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.946/1.946, allocations: 377.8 MB / 0.6236 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 177] 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.934e-06/1.934e-06, allocations: 3.938 kB / 0.8115 GB, free: 1.695 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.934e-05/3.127e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.691 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.003292/0.003323, allocations: 1.534 MB / 0.813 GB, free: 172 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0003861/0.003709, allocations: 105.3 kB / 0.8131 GB, free: 68 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.298e-05/0.003752, allocations: 3.938 kB / 0.8131 GB, free: 64 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 6.363e-05/0.003816, allocations: 0 / 0.8131 GB, free: 64 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.848e-05/0.003894, allocations: 12.89 kB / 0.8132 GB, free: 52 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002649/0.004159, allocations: 23.97 kB / 0.8132 GB, free: 28 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001261/0.004285, allocations: 40.72 kB / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.004395, allocations: 11.98 kB / 0.8132 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 8.08e-05/0.004476, allocations: 25.61 kB / 0.8132 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.918e-05/0.004535, allocations: 15.97 kB / 0.8133 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.235e-05/0.004557, allocations: 4 kB / 0.8133 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.864e-05/0.004656, allocations: 23.83 kB / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.427e-05/0.00471, allocations: 11.94 kB / 0.8133 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.113e-05/0.004741, allocations: 13.52 kB / 0.8133 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001654/0.004907, allocations: 55.81 kB / 0.8134 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.00491, allocations: 0 / 0.8134 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.72e-07/0.00491, allocations: 0 / 0.8134 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.239e-06/0.004915, allocations: 1.156 kB / 0.8134 GB, free: 15.83 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.0004895/0.005405, allocations: 392.4 kB / 0.8137 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.00545, allocations: 9.406 kB / 0.8138 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.083e-05/0.005501, allocations: 12.89 kB / 0.8138 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.005625, allocations: 120 kB / 0.8139 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.00564, allocations: 4.375 kB / 0.8139 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.005655, allocations: 2.125 kB / 0.8139 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.005835, allocations: 70.81 kB / 0.814 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.005847, allocations: 4.188 kB / 0.814 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.005857, allocations: 384 / 0.814 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.916e-06/0.005866, allocations: 1.562 kB / 0.814 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.021e-05/0.005916, allocations: 15.92 kB / 0.814 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000376/0.006292, allocations: 267.8 kB / 0.8142 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.036e-05/0.006383, allocations: 40.7 kB / 0.8143 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.567e-05/0.006418, allocations: 15.62 kB / 0.8143 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001899/0.006608, allocations: 34.66 kB / 0.8143 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.006636, allocations: 33.39 kB / 0.8143 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.382e-06/0.006638, allocations: 0 / 0.8143 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0002039/0.006842, allocations: 49.59 kB / 0.8144 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/0.006875, allocations: 59.39 kB / 0.8145 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.006991, allocations: 178.6 kB / 0.8146 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.007004, allocations: 25.7 kB / 0.8146 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.643e-05/0.00707, allocations: 143.4 kB / 0.8148 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.119e-05/0.007091, allocations: 5.609 kB / 0.8148 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.052e-05/0.007132, allocations: 27.38 kB / 0.8148 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.007277, allocations: 0.4884 MB / 0.8153 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.35e-05/0.007301, allocations: 7.938 kB / 0.8153 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.914e-05/0.00732, allocations: 4 kB / 0.8153 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.846e-05/0.007368, allocations: 16.28 kB / 0.8153 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.007371, allocations: 0.5 kB / 0.8153 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.729e-05/0.007468, allocations: 45.64 kB / 0.8154 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.007485, allocations: 12.81 kB / 0.8154 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.00749, allocations: 0 / 0.8154 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.007507, allocations: 1.391 kB / 0.8154 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.007608, allocations: 11.98 kB / 0.8154 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.007613, allocations: 4.812 kB / 0.8154 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.789e-05/0.007651, allocations: 8 kB / 0.8154 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.00766, allocations: 4.828 kB / 0.8154 GB, free: 13.55 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 8.546e-05/0.007746, allocations: 156.6 kB / 0.8156 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.935e-05/0.007775, allocations: 10.08 kB / 0.8156 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001333/0.007908, allocations: 57.61 kB / 0.8156 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.007912, allocations: 4 kB / 0.8156 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.007915, allocations: 0 / 0.8156 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.00792, allocations: 7.922 kB / 0.8156 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.008066, allocations: 124.6 kB / 0.8157 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.008067, allocations: 0.5 kB / 0.8158 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.851e-05/0.008126, allocations: 14.58 kB / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.008128, allocations: 0 / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.008136, allocations: 4 kB / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.008139, allocations: 3.938 kB / 0.8158 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.008141, allocations: 3.938 kB / 0.8158 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001503/0.008291, allocations: 191.9 kB / 0.816 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.051e-05/0.008302, allocations: 8 kB / 0.816 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.212e-05/0.008324, allocations: 5.688 kB / 0.816 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.59e-05/0.0084, allocations: 7.938 kB / 0.816 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.604e-05/0.008446, allocations: 7.984 kB / 0.816 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.00845, allocations: 0 / 0.816 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.408e-05/0.008514, allocations: 135.7 kB / 0.8161 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.1e-07/0.008515, allocations: 0.5625 kB / 0.8161 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002732/0.008788, allocations: 15.95 kB / 0.8161 GB, free: 12.75 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 0.0001389/0.008927, allocations: 109.2 kB / 0.8162 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001154/0.009042, allocations: 19.62 kB / 0.8163 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.009043, allocations: 0 / 0.8163 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.512e-05/0.009079, allocations: 17.02 kB / 0.8163 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.009368, allocations: 12.72 kB / 0.8163 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003563/0.009724, allocations: 151 kB / 0.8164 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.7e-05/0.009771, allocations: 63.86 kB / 0.8165 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.019e-05/0.009801, allocations: 11.69 kB / 0.8165 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.398e-05/0.009835, allocations: 12.5 kB / 0.8165 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of SimCode: time 4.91e-07/0.009836, allocations: 0 / 0.8165 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of Templates: time 0.003646/0.01348, allocations: 0.8573 MB / 0.8173 GB, free: 11.46 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.128377046901733]