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.001118/0.001118, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.0009639/0.0009639, allocations: 161 kB / 24.17 MB, free: 332 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.9899/0.9899, allocations: 177.1 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.912/1.912, allocations: 377.9 MB / 0.624 GB, free: 8.332 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.232e-06/1.232e-06, allocations: 0 / 0.76 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.548e-05/1.671e-05, allocations: 5.547 kB / 0.76 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.001774/0.001791, allocations: 1.517 MB / 0.7615 GB, free: 5.129 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0002718/0.002063, allocations: 89.28 kB / 0.7616 GB, free: 5.043 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.205e-05/0.002095, allocations: 0 / 0.7616 GB, free: 5.043 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.828e-05/0.002123, allocations: 0 / 0.7616 GB, free: 5.043 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.265e-05/0.002186, allocations: 11 kB / 0.7616 GB, free: 5.035 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002315/0.002417, allocations: 21.5 kB / 0.7616 GB, free: 5.016 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.088e-05/0.002498, allocations: 24.8 kB / 0.7616 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.409e-05/0.002592, allocations: 4 kB / 0.7616 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 6.821e-05/0.00266, allocations: 14.95 kB / 0.7617 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.902e-05/0.002699, allocations: 9.094 kB / 0.7617 GB, free: 4.973 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.002716, allocations: 0 / 0.7617 GB, free: 4.973 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.635e-05/0.002783, allocations: 15.98 kB / 0.7617 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.813e-05/0.002801, allocations: 13.34 kB / 0.7617 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.346e-05/0.002814, allocations: 1.531 kB / 0.7617 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001051/0.002919, allocations: 33.86 kB / 0.7617 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.002922, allocations: 0.6562 kB / 0.7617 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.61e-07/0.002922, allocations: 5.031 kB / 0.7617 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.002926, allocations: 0 / 0.7617 GB, free: 4.91 MB / 0.7136 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.0003112/0.003237, allocations: 240.8 kB / 0.762 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.00327, allocations: 8.719 kB / 0.762 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001318/0.003402, allocations: 16.02 kB / 0.762 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.685e-05/0.003478, allocations: 105.8 kB / 0.7621 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.003491, allocations: 4.375 kB / 0.7621 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/0.003503, allocations: 4.375 kB / 0.7621 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.00361, allocations: 60.06 kB / 0.7622 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-06/0.003616, allocations: 192 / 0.7622 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.142e-06/0.003622, allocations: 384 / 0.7622 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.003628, allocations: 384 / 0.7622 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.557e-05/0.003653, allocations: 10 kB / 0.7622 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002134/0.003867, allocations: 160.2 kB / 0.7623 GB, free: 4.246 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.405e-05/0.003921, allocations: 26.61 kB / 0.7623 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.75e-05/0.003938, allocations: 8.922 kB / 0.7624 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.057e-05/0.003949, allocations: 1.406 kB / 0.7624 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/0.003968, allocations: 30.56 kB / 0.7624 GB, free: 4.16 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.003969, allocations: 4.75 kB / 0.7624 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001138/0.004083, allocations: 42.22 kB / 0.7624 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.004121, allocations: 55.34 kB / 0.7625 GB, free: 4.043 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.814e-05/0.004179, allocations: 104.7 kB / 0.7626 GB, free: 3.93 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.00419, allocations: 30.91 kB / 0.7626 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.322e-05/0.004223, allocations: 88.11 kB / 0.7627 GB, free: 3.805 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.55e-05/0.004239, allocations: 3.953 kB / 0.7627 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-05/0.004267, allocations: 13.72 kB / 0.7627 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.348e-05/0.004351, allocations: 320.2 kB / 0.763 GB, free: 3.461 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.132e-05/0.004362, allocations: 0 / 0.763 GB, free: 3.461 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.167e-05/0.004374, allocations: 4 kB / 0.763 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.856e-05/0.004402, allocations: 13.94 kB / 0.763 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.004404, allocations: 0 / 0.763 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.956e-05/0.004464, allocations: 38.39 kB / 0.7631 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.004477, allocations: 10.33 kB / 0.7631 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.004481, allocations: 1.047 kB / 0.7631 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.004492, allocations: 2.125 kB / 0.7631 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.229e-05/0.004555, allocations: 12.19 kB / 0.7631 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-06/0.004557, allocations: 0 / 0.7631 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.821e-05/0.004585, allocations: 15.92 kB / 0.7631 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-06/0.004589, allocations: 0.7656 kB / 0.7631 GB, free: 3.363 MB / 0.7136 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.407e-05/0.004643, allocations: 112.6 kB / 0.7632 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.111e-05/0.004664, allocations: 4 kB / 0.7632 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.221e-05/0.004687, allocations: 3.625 kB / 0.7632 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.004688, allocations: 0 / 0.7632 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.004691, allocations: 3.938 kB / 0.7632 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.004693, allocations: 0 / 0.7632 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001084/0.004801, allocations: 70.55 kB / 0.7633 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.004802, allocations: 1.531 kB / 0.7633 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.843e-05/0.004831, allocations: 4 kB / 0.7633 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.94e-06/0.004836, allocations: 7.984 kB / 0.7633 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.659e-06/0.00484, allocations: 3.938 kB / 0.7633 GB, free: 3.133 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.004841, allocations: 0.9375 kB / 0.7633 GB, free: 3.133 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.004842, allocations: 0.6562 kB / 0.7633 GB, free: 3.133 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.68e-05/0.004929, allocations: 136.4 kB / 0.7634 GB, free: 2.984 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.155e-06/0.004937, allocations: 7.984 kB / 0.7635 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.123e-05/0.004948, allocations: 4.484 kB / 0.7635 GB, free: 2.973 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.346e-05/0.005002, allocations: 7.281 kB / 0.7635 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.535e-05/0.005027, allocations: 3.984 kB / 0.7635 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.005029, allocations: 0.7656 kB / 0.7635 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.379e-05/0.005043, allocations: 12.8 kB / 0.7635 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.005043, allocations: 0 / 0.7635 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000181/0.005224, allocations: 8 kB / 0.7635 GB, free: 2.941 MB / 0.7136 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.291e-05/0.005297, allocations: 72.42 kB / 0.7636 GB, free: 2.863 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.009e-05/0.005357, allocations: 27.22 kB / 0.7636 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.005359, allocations: 0 / 0.7636 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.747e-05/0.005377, allocations: 9.734 kB / 0.7636 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001525/0.005529, allocations: 7.938 kB / 0.7636 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002197/0.005749, allocations: 121.7 kB / 0.7637 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.109e-05/0.00578, allocations: 51.36 kB / 0.7638 GB, free: 2.602 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.123e-05/0.005801, allocations: 6.031 kB / 0.7638 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.33e-05/0.005845, allocations: 47.38 kB / 0.7638 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of SimCode: time 4.11e-07/0.005845, allocations: 0 / 0.7638 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of Templates: time 0.00236/0.008205, allocations: 0.6495 MB / 0.7644 GB, free: 1.926 MB / 0.7136 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: 4.9750947169959545]