Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.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.001413/0.001413, allocations: 87.58 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.001504/0.001504, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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.9357/0.9357, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.86/1.86, allocations: 377.8 MB / 0.6236 GB, free: 8.582 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.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.8115 GB, free: 1.758 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.084e-05/1.234e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.754 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.001572/0.001584, allocations: 1.496 MB / 0.813 GB, free: 276 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001859/0.00177, allocations: 88.41 kB / 0.8131 GB, free: 188 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.293e-05/0.001793, allocations: 0 / 0.8131 GB, free: 188 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.927e-05/0.001812, allocations: 5.625 kB / 0.8131 GB, free: 184 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 3.069e-05/0.001843, allocations: 7.922 kB / 0.8131 GB, free: 176 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001447/0.001988, allocations: 15.97 kB / 0.8131 GB, free: 160 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 4.852e-05/0.002036, allocations: 25.47 kB / 0.8131 GB, free: 136 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 6.369e-05/0.0021, allocations: 7.984 kB / 0.8131 GB, free: 128 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 3.632e-05/0.002136, allocations: 11.94 kB / 0.8132 GB, free: 116 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.074e-05/0.002167, allocations: 11.98 kB / 0.8132 GB, free: 104 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.00218, allocations: 1.594 kB / 0.8132 GB, free: 104 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 4.521e-05/0.002225, allocations: 15.98 kB / 0.8132 GB, free: 88 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.258e-05/0.002237, allocations: 7.984 kB / 0.8132 GB, free: 80 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.827e-05/0.002256, allocations: 11.92 kB / 0.8132 GB, free: 68 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 8.29e-05/0.002339, allocations: 31.84 kB / 0.8132 GB, free: 36 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.00234, allocations: 0.875 kB / 0.8132 GB, free: 36 kB / 0.7605 GB Notification: Performance of FrontEnd: time 4.4e-07/0.002341, allocations: 0 / 0.8132 GB, free: 36 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.606e-06/0.002345, allocations: 0.7812 kB / 0.8132 GB, free: 36 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002722/0.002617, allocations: 364.8 kB / 0.8136 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.002652, allocations: 8.656 kB / 0.8136 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001219/0.002774, allocations: 13.61 kB / 0.8136 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.342e-05/0.002838, allocations: 116.6 kB / 0.8137 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.002848, allocations: 5.062 kB / 0.8137 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.695e-06/0.002855, allocations: 384 / 0.8137 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.433e-05/0.00295, allocations: 55.8 kB / 0.8138 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.71e-06/0.002955, allocations: 4.172 kB / 0.8138 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-06/0.002962, allocations: 1.75 kB / 0.8138 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.002966, allocations: 384 / 0.8138 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.26e-05/0.002999, allocations: 15.86 kB / 0.8138 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002487/0.003248, allocations: 257.6 kB / 0.814 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.354e-05/0.003301, allocations: 31.06 kB / 0.8141 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.258e-05/0.003324, allocations: 15.73 kB / 0.8141 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.003336, allocations: 0 / 0.8141 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.613e-05/0.003352, allocations: 34.48 kB / 0.8141 GB, free: 15 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 6.11e-07/0.003353, allocations: 3.938 kB / 0.8141 GB, free: 15 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001138/0.003466, allocations: 50.14 kB / 0.8142 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.034e-05/0.003487, allocations: 52.25 kB / 0.8142 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.876e-05/0.003545, allocations: 165.9 kB / 0.8144 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.785e-06/0.003553, allocations: 25.7 kB / 0.8144 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.106e-05/0.003594, allocations: 135.9 kB / 0.8145 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.577e-05/0.00361, allocations: 15.92 kB / 0.8145 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.567e-05/0.003636, allocations: 17.81 kB / 0.8146 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.003744, allocations: 496.1 kB / 0.815 GB, free: 14 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.456e-05/0.003759, allocations: 4 kB / 0.815 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.205e-05/0.003771, allocations: 4 kB / 0.815 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.988e-05/0.003801, allocations: 15.62 kB / 0.8151 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.003802, allocations: 0 / 0.8151 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.23e-05/0.003854, allocations: 42.22 kB / 0.8151 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.848e-06/0.003864, allocations: 8.719 kB / 0.8151 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.003868, allocations: 3.938 kB / 0.8151 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/0.003877, allocations: 0.5312 kB / 0.8151 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.268e-05/0.003929, allocations: 9.859 kB / 0.8151 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.356e-06/0.003933, allocations: 0 / 0.8151 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.944e-05/0.003952, allocations: 8 kB / 0.8151 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.447e-06/0.003956, allocations: 0 / 0.8151 GB, free: 13.89 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 (2): * Single equations (assignments): 2 * 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 5.678e-05/0.004012, allocations: 161.3 kB / 0.8153 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.448e-05/0.004027, allocations: 4.938 kB / 0.8153 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.032e-05/0.004057, allocations: 15.55 kB / 0.8153 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.004059, allocations: 0 / 0.8153 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.004061, allocations: 1.219 kB / 0.8153 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.004063, allocations: 0 / 0.8153 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.336e-05/0.004147, allocations: 120.6 kB / 0.8154 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.91e-07/0.004147, allocations: 0.8438 kB / 0.8154 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.211e-05/0.004169, allocations: 8 kB / 0.8154 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.00417, allocations: 2.219 kB / 0.8154 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-06/0.004175, allocations: 0 / 0.8154 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.004177, allocations: 3.938 kB / 0.8154 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-07/0.004177, allocations: 0 / 0.8154 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.705e-05/0.004275, allocations: 191.9 kB / 0.8156 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.418e-06/0.004279, allocations: 0 / 0.8156 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.654e-06/0.004287, allocations: 11.06 kB / 0.8156 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.389e-05/0.00432, allocations: 7.922 kB / 0.8156 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.603e-05/0.004347, allocations: 4 kB / 0.8156 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-06/0.004348, allocations: 0 / 0.8156 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.279e-05/0.004381, allocations: 127.2 kB / 0.8158 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.004381, allocations: 0 / 0.8158 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001317/0.004513, allocations: 4 kB / 0.8158 GB, free: 13.19 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 (2): * Single equations (assignments): 2 * 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 5.884e-05/0.004572, allocations: 104.4 kB / 0.8159 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.418e-05/0.004636, allocations: 15.69 kB / 0.8159 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.004637, allocations: 0.625 kB / 0.8159 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.258e-05/0.00466, allocations: 16.66 kB / 0.8159 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001495/0.004809, allocations: 11.92 kB / 0.8159 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002237/0.005033, allocations: 128.7 kB / 0.816 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.061e-05/0.005064, allocations: 59.2 kB / 0.8161 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.461e-05/0.005078, allocations: 5.125 kB / 0.8161 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.53e-05/0.005103, allocations: 12.5 kB / 0.8161 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of SimCode: time 4.01e-07/0.005104, allocations: 0 / 0.8161 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of Templates: time 0.001716/0.00682, allocations: 0.6528 MB / 0.8167 GB, free: 12.15 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_PowerLinearized.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.081418463028967]