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.001694/0.001694, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001989/0.001989, allocations: 165 kB / 23.82 MB, free: 0.75 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.9592/0.9592, allocations: 177.1 MB / 204.2 MB, free: 5.621 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.891/1.891, allocations: 377.8 MB / 0.6236 GB, free: 8.562 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.643e-06/1.643e-06, allocations: 0 / 0.8115 GB, free: 1.715 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.739e-05/2.904e-05, allocations: 9.062 kB / 0.8115 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002925/0.002954, allocations: 1.54 MB / 0.813 GB, free: 184 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0003708/0.003325, allocations: 108.5 kB / 0.8132 GB, free: 76 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.984e-05/0.003365, allocations: 0 / 0.8132 GB, free: 76 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 5.976e-05/0.003425, allocations: 4.547 kB / 0.8132 GB, free: 72 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.19e-05/0.003497, allocations: 12.56 kB / 0.8132 GB, free: 60 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002442/0.003741, allocations: 24.81 kB / 0.8132 GB, free: 36 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.003853, allocations: 43.94 kB / 0.8132 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.96e-05/0.003953, allocations: 8.641 kB / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 8.634e-05/0.004039, allocations: 23.89 kB / 0.8133 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.28e-05/0.004112, allocations: 24.59 kB / 0.8133 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.125e-05/0.004133, allocations: 4 kB / 0.8133 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.434e-05/0.004208, allocations: 21.02 kB / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.345e-05/0.004271, allocations: 8 kB / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.6e-05/0.004307, allocations: 15.92 kB / 0.8133 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001742/0.004481, allocations: 52.69 kB / 0.8134 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.004485, allocations: 0 / 0.8134 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.232e-06/0.004486, allocations: 1.25 kB / 0.8134 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.004491, allocations: 0 / 0.8134 GB, free: 15.84 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.0004833/0.004974, allocations: 396.4 kB / 0.8138 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.005017, allocations: 9.562 kB / 0.8138 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.792e-05/0.005065, allocations: 8.891 kB / 0.8138 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.00518, allocations: 120.5 kB / 0.8139 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.005194, allocations: 384 / 0.8139 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/0.005212, allocations: 9.75 kB / 0.8139 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002037/0.005415, allocations: 62.94 kB / 0.814 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.005429, allocations: 192 / 0.814 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.00544, allocations: 1.125 kB / 0.814 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.005448, allocations: 4.375 kB / 0.814 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.027e-05/0.005499, allocations: 12.64 kB / 0.814 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004147/0.005913, allocations: 267.8 kB / 0.8142 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.522e-05/0.006009, allocations: 40.27 kB / 0.8143 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.503e-05/0.006044, allocations: 15.69 kB / 0.8143 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001894/0.006233, allocations: 29.94 kB / 0.8143 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.006261, allocations: 37.39 kB / 0.8144 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.764e-06/0.006262, allocations: 0 / 0.8144 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0002058/0.006468, allocations: 55.23 kB / 0.8144 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.006503, allocations: 59.34 kB / 0.8145 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.006624, allocations: 185.5 kB / 0.8146 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.006637, allocations: 25.7 kB / 0.8147 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.262e-05/0.006699, allocations: 139.4 kB / 0.8148 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.144e-05/0.006721, allocations: 4.516 kB / 0.8148 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.174e-05/0.006762, allocations: 35.3 kB / 0.8148 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.006905, allocations: 493.5 kB / 0.8153 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.622e-05/0.006931, allocations: 8 kB / 0.8153 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.069e-05/0.006952, allocations: 7.969 kB / 0.8153 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.493e-05/0.006997, allocations: 16.22 kB / 0.8153 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.006999, allocations: 0 / 0.8153 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001034/0.007102, allocations: 54.2 kB / 0.8154 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.00712, allocations: 9.906 kB / 0.8154 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.007126, allocations: 4 kB / 0.8154 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.007145, allocations: 0 / 0.8154 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.007252, allocations: 8 kB / 0.8154 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.007257, allocations: 0 / 0.8154 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.313e-05/0.0073, allocations: 12.45 kB / 0.8154 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.007308, allocations: 0.7188 kB / 0.8154 GB, free: 13.56 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.306e-05/0.007391, allocations: 160.6 kB / 0.8156 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.178e-05/0.007423, allocations: 9.234 kB / 0.8156 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001477/0.00757, allocations: 61.59 kB / 0.8156 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.007574, allocations: 0 / 0.8156 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.007577, allocations: 0.625 kB / 0.8156 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.00758, allocations: 0 / 0.8156 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000425/0.008005, allocations: 133.7 kB / 0.8158 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.008007, allocations: 0 / 0.8158 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.454e-05/0.008081, allocations: 15.92 kB / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.008085, allocations: 0.8125 kB / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.008093, allocations: 0 / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.008097, allocations: 4.875 kB / 0.8158 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.008098, allocations: 4 kB / 0.8158 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000158/0.008256, allocations: 197.3 kB / 0.816 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.638e-06/0.008266, allocations: 4 kB / 0.816 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.00828, allocations: 0 / 0.816 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.984e-05/0.00836, allocations: 11.92 kB / 0.816 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.681e-05/0.008407, allocations: 8.922 kB / 0.816 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.008413, allocations: 4 kB / 0.816 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.829e-05/0.008481, allocations: 137.5 kB / 0.8161 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1e-07/0.008481, allocations: 0 / 0.8161 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002683/0.00875, allocations: 15.95 kB / 0.8162 GB, free: 12.74 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.0001572/0.008907, allocations: 103.1 kB / 0.8163 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001217/0.009028, allocations: 23.67 kB / 0.8163 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.00903, allocations: 3.438 kB / 0.8163 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.638e-05/0.009067, allocations: 12.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.000292/0.009359, allocations: 4 kB / 0.8163 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003764/0.009735, allocations: 154.1 kB / 0.8164 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.205e-05/0.009787, allocations: 71.14 kB / 0.8165 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.021e-05/0.009817, allocations: 4.75 kB / 0.8165 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.619e-05/0.009853, allocations: 13 kB / 0.8165 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of SimCode: time 6.41e-07/0.009854, allocations: 0 / 0.8165 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of Templates: time 0.00363/0.01348, allocations: 0.8565 MB / 0.8174 GB, free: 11.47 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.253237144090235]