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.001349/0.001349, 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.001032/0.001032, allocations: 169 kB / 24.28 MB, free: 280 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.9721/0.9721, allocations: 177.1 MB / 204.6 MB, free: 5.645 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.6239 GB, free: 8.547 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 2.024e-06/2.024e-06, allocations: 0 / 0.8115 GB, free: 2.047 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.859e-05/2.061e-05, allocations: 3.562 kB / 0.8115 GB, free: 2.043 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.00189/0.001911, allocations: 1.491 MB / 0.813 GB, free: 0.5586 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0002345/0.002145, allocations: 88.97 kB / 0.8131 GB, free: 484 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.604e-05/0.002181, allocations: 0 / 0.8131 GB, free: 484 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3e-05/0.002211, allocations: 3.938 kB / 0.8131 GB, free: 480 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 4.185e-05/0.002253, allocations: 1.594 kB / 0.8131 GB, free: 480 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001958/0.002449, allocations: 15.98 kB / 0.8131 GB, free: 464 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.14e-05/0.00252, allocations: 27.86 kB / 0.8131 GB, free: 436 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 8.94e-05/0.00261, allocations: 12.91 kB / 0.8131 GB, free: 424 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 5.481e-05/0.002664, allocations: 8 kB / 0.8131 GB, free: 416 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.556e-05/0.0027, allocations: 11.98 kB / 0.8132 GB, free: 404 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.002716, allocations: 4.719 kB / 0.8132 GB, free: 400 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 6.243e-05/0.002778, allocations: 15.98 kB / 0.8132 GB, free: 384 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.132e-05/0.0028, allocations: 9.625 kB / 0.8132 GB, free: 376 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.84e-05/0.002818, allocations: 4 kB / 0.8132 GB, free: 372 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001073/0.002925, allocations: 35.88 kB / 0.8132 GB, free: 336 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.002928, allocations: 0 / 0.8132 GB, free: 336 kB / 0.7605 GB Notification: Performance of FrontEnd: time 7.01e-07/0.002928, allocations: 1.531 kB / 0.8132 GB, free: 336 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.002932, allocations: 4 kB / 0.8132 GB, free: 332 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.0003321/0.003264, allocations: 360.6 kB / 0.8136 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.003296, allocations: 8.031 kB / 0.8136 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001304/0.003427, allocations: 14.3 kB / 0.8136 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.386e-05/0.00351, allocations: 116.5 kB / 0.8137 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.003525, allocations: 4.375 kB / 0.8137 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-06/0.003534, allocations: 2.125 kB / 0.8137 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.003647, allocations: 62.92 kB / 0.8138 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.771e-06/0.003653, allocations: 192 / 0.8138 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.003661, allocations: 384 / 0.8138 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.003668, allocations: 384 / 0.8138 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.741e-05/0.003706, allocations: 16.58 kB / 0.8138 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003118/0.004018, allocations: 256.7 kB / 0.814 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.511e-05/0.004083, allocations: 31.06 kB / 0.8141 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.467e-05/0.004107, allocations: 12.31 kB / 0.8141 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.252e-05/0.00412, allocations: 1.375 kB / 0.8141 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.004145, allocations: 41.31 kB / 0.8141 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.004146, allocations: 0 / 0.8141 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001606/0.004307, allocations: 48.23 kB / 0.8142 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/0.004336, allocations: 51.41 kB / 0.8142 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.392e-05/0.00441, allocations: 165.9 kB / 0.8144 GB, free: 15 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.308e-06/0.00442, allocations: 25.7 kB / 0.8144 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.372e-05/0.004463, allocations: 134.8 kB / 0.8145 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.669e-05/0.00448, allocations: 7.953 kB / 0.8145 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.629e-05/0.004506, allocations: 19.36 kB / 0.8145 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.00462, allocations: 0.4889 MB / 0.815 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.611e-05/0.004636, allocations: 0.7188 kB / 0.815 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.316e-05/0.004649, allocations: 4 kB / 0.815 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.145e-05/0.004681, allocations: 17.81 kB / 0.815 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.004682, allocations: 0 / 0.815 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.131e-05/0.004744, allocations: 41.69 kB / 0.8151 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.004756, allocations: 8 kB / 0.8151 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.004761, allocations: 4.438 kB / 0.8151 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.004773, allocations: 0.5938 kB / 0.8151 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.138e-05/0.004835, allocations: 4.25 kB / 0.8151 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.004839, allocations: 0.7812 kB / 0.8151 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.355e-05/0.004863, allocations: 15.92 kB / 0.8151 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.004868, allocations: 5.156 kB / 0.8151 GB, free: 14.19 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.794e-05/0.004925, allocations: 152.6 kB / 0.8153 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.581e-05/0.004941, allocations: 8.594 kB / 0.8153 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.608e-05/0.004967, allocations: 15.5 kB / 0.8153 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.004969, allocations: 1.094 kB / 0.8153 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.004972, allocations: 0 / 0.8153 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.004975, allocations: 0 / 0.8153 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.403e-05/0.005069, allocations: 117.7 kB / 0.8154 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.005071, allocations: 4 kB / 0.8154 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.314e-05/0.005094, allocations: 8.828 kB / 0.8154 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.005096, allocations: 0 / 0.8154 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.952e-06/0.005101, allocations: 0 / 0.8154 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.005103, allocations: 6.156 kB / 0.8154 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.005104, allocations: 0 / 0.8154 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.751e-05/0.005202, allocations: 191.9 kB / 0.8156 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.22e-06/0.005207, allocations: 4 kB / 0.8156 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.806e-06/0.005216, allocations: 0 / 0.8156 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.499e-05/0.005251, allocations: 10.72 kB / 0.8156 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.21e-05/0.005283, allocations: 3.984 kB / 0.8156 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-06/0.005285, allocations: 3.938 kB / 0.8156 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.732e-05/0.005322, allocations: 127.2 kB / 0.8157 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.005322, allocations: 0 / 0.8157 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000139/0.005461, allocations: 4 kB / 0.8158 GB, free: 13.49 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 7.032e-05/0.005532, allocations: 100.8 kB / 0.8158 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.55e-05/0.005617, allocations: 15.69 kB / 0.8159 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.005619, allocations: 0 / 0.8159 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.553e-05/0.005645, allocations: 16.22 kB / 0.8159 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000177/0.005822, allocations: 14.17 kB / 0.8159 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00029/0.006112, allocations: 136.1 kB / 0.816 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.555e-05/0.006147, allocations: 55.22 kB / 0.8161 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.958e-05/0.006167, allocations: 1.344 kB / 0.8161 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.833e-05/0.006195, allocations: 16.48 kB / 0.8161 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of SimCode: time 8.02e-07/0.006196, allocations: 1.094 kB / 0.8161 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of Templates: time 0.002142/0.008338, allocations: 0.6459 MB / 0.8167 GB, free: 12.46 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.003948553930968]