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.001386/0.001386, allocations: 71.75 kB / 20.97 MB, free: 3.57 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.001629/0.001629, allocations: 173 kB / 24.28 MB, free: 272 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 0.9163/0.9163, allocations: 177.1 MB / 204.6 MB, free: 5.598 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.959/1.959, allocations: 377.8 MB / 0.6239 GB, free: 8.551 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.513e-06/1.513e-06, allocations: 0 / 0.8115 GB, free: 2.035 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.455e-05/1.606e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.031 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002467/0.002483, allocations: 1.54 MB / 0.813 GB, free: 0.5 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0002982/0.002782, allocations: 107.7 kB / 0.8131 GB, free: 404 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.26e-05/0.002824, allocations: 1.031 kB / 0.8131 GB, free: 404 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.781e-05/0.002872, allocations: 0 / 0.8131 GB, free: 404 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.969e-05/0.002932, allocations: 16.64 kB / 0.8132 GB, free: 388 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002019/0.003134, allocations: 15.98 kB / 0.8132 GB, free: 372 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 9.104e-05/0.003225, allocations: 45.53 kB / 0.8132 GB, free: 328 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 9.468e-05/0.003319, allocations: 11.94 kB / 0.8132 GB, free: 316 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 7.002e-05/0.003389, allocations: 31.89 kB / 0.8133 GB, free: 284 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.752e-05/0.003437, allocations: 15.98 kB / 0.8133 GB, free: 268 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.003455, allocations: 5.531 kB / 0.8133 GB, free: 264 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 6.408e-05/0.003519, allocations: 11.98 kB / 0.8133 GB, free: 252 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 5.502e-05/0.003574, allocations: 19.92 kB / 0.8133 GB, free: 232 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.546e-05/0.0036, allocations: 8 kB / 0.8133 GB, free: 224 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.000139/0.003739, allocations: 57.17 kB / 0.8134 GB, free: 168 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.245e-06/0.003741, allocations: 0 / 0.8134 GB, free: 168 kB / 0.7605 GB Notification: Performance of FrontEnd: time 7.31e-07/0.003742, allocations: 0 / 0.8134 GB, free: 168 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.003746, allocations: 0 / 0.8134 GB, free: 168 kB / 0.7605 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.0004694/0.004215, allocations: 394.2 kB / 0.8137 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.004264, allocations: 8.031 kB / 0.8138 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.516e-05/0.004309, allocations: 8.891 kB / 0.8138 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.004417, allocations: 116.5 kB / 0.8139 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.004431, allocations: 5.562 kB / 0.8139 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.004442, allocations: 384 / 0.8139 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002097/0.004651, allocations: 74.86 kB / 0.814 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.004659, allocations: 1.938 kB / 0.814 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.004669, allocations: 384 / 0.814 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.004678, allocations: 384 / 0.814 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.466e-05/0.004723, allocations: 11.94 kB / 0.814 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003451/0.005068, allocations: 274.4 kB / 0.8142 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.435e-05/0.005152, allocations: 35 kB / 0.8143 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.765e-05/0.00519, allocations: 11.69 kB / 0.8143 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001637/0.005353, allocations: 32.78 kB / 0.8143 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.005379, allocations: 33.39 kB / 0.8143 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 2.534e-06/0.005382, allocations: 8.453 kB / 0.8143 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001968/0.005579, allocations: 59.23 kB / 0.8144 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/0.005614, allocations: 51.41 kB / 0.8144 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.005734, allocations: 191.6 kB / 0.8146 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.005745, allocations: 25.7 kB / 0.8147 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.997e-05/0.005805, allocations: 134.9 kB / 0.8148 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.066e-05/0.005826, allocations: 8.609 kB / 0.8148 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.775e-05/0.005864, allocations: 28.33 kB / 0.8148 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.006008, allocations: 0.4884 MB / 0.8153 GB, free: 14 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.318e-05/0.006031, allocations: 0 / 0.8153 GB, free: 14 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.932e-05/0.00605, allocations: 9.141 kB / 0.8153 GB, free: 14 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.569e-05/0.006096, allocations: 15.69 kB / 0.8153 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.006098, allocations: 0 / 0.8153 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.514e-05/0.006193, allocations: 54.77 kB / 0.8154 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.006208, allocations: 7.938 kB / 0.8154 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.006212, allocations: 0 / 0.8154 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.006225, allocations: 4.75 kB / 0.8154 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.777e-05/0.006313, allocations: 8 kB / 0.8154 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.006319, allocations: 0.5312 kB / 0.8154 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.811e-05/0.006357, allocations: 12.83 kB / 0.8154 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.794e-06/0.006365, allocations: 4 kB / 0.8154 GB, free: 13.88 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 7.332e-05/0.006438, allocations: 154.6 kB / 0.8156 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.791e-05/0.006466, allocations: 7.953 kB / 0.8156 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001121/0.006578, allocations: 61.61 kB / 0.8156 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.00658, allocations: 0 / 0.8156 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.006583, allocations: 0 / 0.8156 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.006586, allocations: 0.5938 kB / 0.8156 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/0.006729, allocations: 128.5 kB / 0.8157 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.006732, allocations: 6.5 kB / 0.8158 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.809e-05/0.00678, allocations: 15.92 kB / 0.8158 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.006781, allocations: 4 kB / 0.8158 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.006788, allocations: 0 / 0.8158 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.00679, allocations: 3.938 kB / 0.8158 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.006791, allocations: 0 / 0.8158 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001335/0.006925, allocations: 197.7 kB / 0.816 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.652e-06/0.006932, allocations: 0 / 0.816 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.006945, allocations: 3.938 kB / 0.816 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.606e-05/0.007011, allocations: 11.92 kB / 0.816 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.4e-05/0.007055, allocations: 8.406 kB / 0.816 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/0.007059, allocations: 0.5312 kB / 0.816 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.082e-05/0.007119, allocations: 139.7 kB / 0.8161 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.00712, allocations: 0 / 0.8161 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002705/0.00739, allocations: 17.86 kB / 0.8161 GB, free: 13.07 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.0001206/0.007511, allocations: 99.19 kB / 0.8162 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001006/0.007611, allocations: 27.66 kB / 0.8163 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.007613, allocations: 1.344 kB / 0.8163 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.96e-05/0.007643, allocations: 11.69 kB / 0.8163 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/0.007918, allocations: 11.94 kB / 0.8163 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003331/0.008251, allocations: 151.5 kB / 0.8164 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.662e-05/0.008298, allocations: 67.2 kB / 0.8165 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.462e-05/0.008323, allocations: 7.625 kB / 0.8165 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.173e-05/0.008354, allocations: 16.5 kB / 0.8165 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of SimCode: time 9.62e-07/0.008355, allocations: 0 / 0.8165 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of Templates: time 0.003166/0.01152, allocations: 0.8487 MB / 0.8173 GB, free: 11.81 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.0937616638839245]