Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.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.0009861/0.0009861, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009883/0.0009883, allocations: 169 kB / 24.28 MB, free: 276 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.9591/0.9591, allocations: 177.1 MB / 204.6 MB, free: 5.633 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.895/1.895, allocations: 377.8 MB / 0.6239 GB, free: 8.559 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.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 0.8115 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.885e-05/3.081e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.003022/0.003052, allocations: 1.526 MB / 0.813 GB, free: 0.5391 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0004349/0.003487, allocations: 113 kB / 0.8131 GB, free: 440 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.705e-05/0.003544, allocations: 3.938 kB / 0.8131 GB, free: 436 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 7.06e-05/0.003615, allocations: 7.922 kB / 0.8131 GB, free: 428 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.767e-05/0.003693, allocations: 9.578 kB / 0.8132 GB, free: 420 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002774/0.00397, allocations: 23.91 kB / 0.8132 GB, free: 396 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.004074, allocations: 47.8 kB / 0.8132 GB, free: 348 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.00418, allocations: 6.016 kB / 0.8132 GB, free: 344 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 7.149e-05/0.004251, allocations: 19.98 kB / 0.8132 GB, free: 324 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.684e-05/0.004308, allocations: 23.91 kB / 0.8133 GB, free: 300 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.03e-05/0.004329, allocations: 4 kB / 0.8133 GB, free: 296 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 7.755e-05/0.004406, allocations: 19.98 kB / 0.8133 GB, free: 276 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 5.29e-05/0.004459, allocations: 11.98 kB / 0.8133 GB, free: 264 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.156e-05/0.004491, allocations: 16.48 kB / 0.8133 GB, free: 248 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001601/0.004651, allocations: 52.41 kB / 0.8134 GB, free: 196 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.004654, allocations: 0 / 0.8134 GB, free: 196 kB / 0.7605 GB Notification: Performance of FrontEnd: time 9.42e-07/0.004655, allocations: 4.656 kB / 0.8134 GB, free: 192 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.004661, allocations: 0 / 0.8134 GB, free: 192 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.0004914/0.005152, allocations: 390.4 kB / 0.8137 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.005198, allocations: 12.02 kB / 0.8138 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.128e-05/0.005249, allocations: 12.89 kB / 0.8138 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.005367, allocations: 120.5 kB / 0.8139 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.00538, allocations: 0.9062 kB / 0.8139 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.005394, allocations: 8.359 kB / 0.8139 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/0.005586, allocations: 64.28 kB / 0.814 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.005594, allocations: 192 / 0.814 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.005604, allocations: 384 / 0.814 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.005611, allocations: 5.531 kB / 0.814 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.169e-05/0.005663, allocations: 11.92 kB / 0.814 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003248/0.005988, allocations: 271.8 kB / 0.8142 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.105e-05/0.006059, allocations: 40.42 kB / 0.8143 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.587e-05/0.006085, allocations: 11.69 kB / 0.8143 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001464/0.006231, allocations: 33.5 kB / 0.8143 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.006253, allocations: 33.39 kB / 0.8143 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.006254, allocations: 0.5 kB / 0.8143 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001667/0.00642, allocations: 58.67 kB / 0.8144 GB, free: 15 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.967e-05/0.00645, allocations: 55.41 kB / 0.8145 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.165e-05/0.006542, allocations: 181.9 kB / 0.8146 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.006552, allocations: 26.55 kB / 0.8147 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.171e-05/0.006604, allocations: 138.9 kB / 0.8148 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.359e-05/0.006628, allocations: 5.359 kB / 0.8148 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.961e-05/0.006657, allocations: 27.38 kB / 0.8148 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.006765, allocations: 0.4884 MB / 0.8153 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.902e-05/0.006784, allocations: 4 kB / 0.8153 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.48e-05/0.006799, allocations: 5.125 kB / 0.8153 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.054e-05/0.00684, allocations: 19.67 kB / 0.8153 GB, free: 14 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.006842, allocations: 0 / 0.8153 GB, free: 14 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.889e-05/0.006911, allocations: 47.53 kB / 0.8154 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.006925, allocations: 11.94 kB / 0.8154 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.006929, allocations: 0 / 0.8154 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.006942, allocations: 0 / 0.8154 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.594e-05/0.007018, allocations: 15.92 kB / 0.8154 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.007023, allocations: 2.406 kB / 0.8154 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.58e-05/0.007049, allocations: 15.92 kB / 0.8154 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-06/0.007055, allocations: 0 / 0.8154 GB, free: 13.91 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.192e-05/0.007116, allocations: 156.6 kB / 0.8156 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.515e-05/0.007132, allocations: 3.953 kB / 0.8156 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.98e-05/0.007231, allocations: 66.39 kB / 0.8156 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.007234, allocations: 0 / 0.8156 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.007237, allocations: 1.938 kB / 0.8156 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.007242, allocations: 8.031 kB / 0.8156 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001027/0.007344, allocations: 128.6 kB / 0.8158 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.007346, allocations: 4 kB / 0.8158 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.505e-05/0.007381, allocations: 11.98 kB / 0.8158 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.007383, allocations: 0.9062 kB / 0.8158 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.00739, allocations: 0 / 0.8158 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.007394, allocations: 4.719 kB / 0.8158 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.007395, allocations: 4 kB / 0.8158 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001048/0.0075, allocations: 196.6 kB / 0.816 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.472e-06/0.007506, allocations: 4 kB / 0.816 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.136e-05/0.007518, allocations: 4.656 kB / 0.816 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.677e-05/0.007564, allocations: 15.14 kB / 0.816 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/0.007602, allocations: 3.938 kB / 0.816 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-06/0.007606, allocations: 4 kB / 0.816 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.417e-05/0.00765, allocations: 135.2 kB / 0.8161 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.00765, allocations: 0 / 0.8161 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001522/0.007803, allocations: 15.95 kB / 0.8161 GB, free: 13.09 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.0001236/0.007926, allocations: 103.2 kB / 0.8162 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.904e-05/0.008015, allocations: 18.09 kB / 0.8163 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.008017, allocations: 0 / 0.8163 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.536e-05/0.008042, allocations: 15.67 kB / 0.8163 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001854/0.008227, allocations: 11.94 kB / 0.8163 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003525/0.00858, allocations: 148.7 kB / 0.8164 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.625e-05/0.008626, allocations: 71.14 kB / 0.8165 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.335e-05/0.00865, allocations: 5.125 kB / 0.8165 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.63e-05/0.008676, allocations: 12.5 kB / 0.8165 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of SimCode: time 8.52e-07/0.008677, allocations: 4.969 kB / 0.8165 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of Templates: time 0.002741/0.01142, allocations: 0.8616 MB / 0.8174 GB, free: 11.81 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_QuadraticLinear.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.098857783013955]