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.0009573/0.0009573, allocations: 80.92 kB / 20.75 MB, free: 3.738 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.0009972/0.0009972, allocations: 161 kB / 24.17 MB, free: 328 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 1.029/1.029, 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.954/1.954, allocations: 377.9 MB / 0.624 GB, free: 8.371 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 2.013e-06/2.013e-06, allocations: 7.938 kB / 0.7601 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.357e-06/1.137e-05, allocations: 6.141 kB / 0.7601 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.001805/0.001817, allocations: 1.55 MB / 0.7616 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.000184/0.002, allocations: 88.62 kB / 0.7617 GB, free: 4.965 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.284e-05/0.002023, allocations: 1.156 kB / 0.7617 GB, free: 4.965 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.944e-05/0.002043, allocations: 3.938 kB / 0.7617 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.521e-05/0.002078, allocations: 2.891 kB / 0.7617 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001232/0.002201, allocations: 19.95 kB / 0.7617 GB, free: 4.941 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.374e-05/0.002255, allocations: 33.39 kB / 0.7617 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 5.228e-05/0.002307, allocations: 0.5625 kB / 0.7617 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.597e-05/0.002353, allocations: 15.19 kB / 0.7617 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 2.715e-05/0.00238, allocations: 8.984 kB / 0.7617 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.002393, allocations: 4 kB / 0.7617 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 5.725e-05/0.00245, allocations: 15.98 kB / 0.7618 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.328e-05/0.002463, allocations: 9.297 kB / 0.7618 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.102e-05/0.002474, allocations: 5.984 kB / 0.7618 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 7.426e-05/0.002548, allocations: 33.75 kB / 0.7618 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.473e-06/0.00255, allocations: 0 / 0.7618 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.71e-07/0.00255, allocations: 0.75 kB / 0.7618 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.389e-06/0.002555, allocations: 4 kB / 0.7618 GB, free: 4.828 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.0001982/0.002753, allocations: 241.4 kB / 0.762 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.42e-05/0.002777, allocations: 9.328 kB / 0.7621 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.278e-05/0.00287, allocations: 12.92 kB / 0.7621 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.006e-05/0.00293, allocations: 107.1 kB / 0.7622 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.225e-06/0.002938, allocations: 384 / 0.7622 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.25e-06/0.002944, allocations: 4.375 kB / 0.7622 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.826e-05/0.003022, allocations: 64.52 kB / 0.7622 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.47e-06/0.003027, allocations: 192 / 0.7622 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.511e-06/0.003033, allocations: 1.219 kB / 0.7622 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.326e-06/0.003036, allocations: 384 / 0.7622 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.228e-05/0.003058, allocations: 11.92 kB / 0.7622 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001686/0.003227, allocations: 153.1 kB / 0.7624 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.971e-05/0.003267, allocations: 27.2 kB / 0.7624 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.502e-05/0.003282, allocations: 10.23 kB / 0.7624 GB, free: 4.121 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.205e-06/0.00329, allocations: 3.938 kB / 0.7624 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.575e-05/0.003306, allocations: 35.58 kB / 0.7625 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.003306, allocations: 0 / 0.7625 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 7.953e-05/0.003386, allocations: 46.62 kB / 0.7625 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.203e-05/0.003408, allocations: 55.34 kB / 0.7626 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.743e-05/0.003455, allocations: 103.7 kB / 0.7627 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.458e-06/0.003465, allocations: 27.02 kB / 0.7627 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.689e-05/0.003492, allocations: 88.11 kB / 0.7628 GB, free: 3.723 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.26e-05/0.003504, allocations: 3.953 kB / 0.7628 GB, free: 3.719 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.17e-05/0.003526, allocations: 16.47 kB / 0.7628 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.645e-05/0.003592, allocations: 310.8 kB / 0.7631 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.154e-05/0.003604, allocations: 8.188 kB / 0.7631 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.754e-06/0.003612, allocations: 0 / 0.7631 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.312e-05/0.003635, allocations: 24.84 kB / 0.7631 GB, free: 3.352 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.003636, allocations: 0.6562 kB / 0.7631 GB, free: 3.352 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.814e-05/0.003674, allocations: 36.05 kB / 0.7632 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.003686, allocations: 10.02 kB / 0.7632 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.00369, allocations: 0 / 0.7632 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.0037, allocations: 0 / 0.7632 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.815e-05/0.003748, allocations: 11.94 kB / 0.7632 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.615e-06/0.00375, allocations: 0.7656 kB / 0.7632 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.96e-05/0.00377, allocations: 12.67 kB / 0.7632 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.865e-06/0.003773, allocations: 4.844 kB / 0.7632 GB, free: 3.277 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 4.795e-05/0.003821, allocations: 109.8 kB / 0.7633 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.554e-05/0.003836, allocations: 4.5 kB / 0.7633 GB, free: 3.156 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.156e-05/0.003858, allocations: 3.625 kB / 0.7633 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.51e-07/0.003859, allocations: 2.594 kB / 0.7633 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.003861, allocations: 4.594 kB / 0.7633 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.003863, allocations: 0 / 0.7633 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.576e-05/0.003939, allocations: 73.89 kB / 0.7634 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.81e-07/0.003939, allocations: 0 / 0.7634 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.169e-05/0.003961, allocations: 7.984 kB / 0.7634 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.003963, allocations: 6.438 kB / 0.7634 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.587e-06/0.003967, allocations: 0.6562 kB / 0.7634 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.003968, allocations: 0 / 0.7634 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.81e-07/0.003968, allocations: 0 / 0.7634 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.594e-05/0.004044, allocations: 131.5 kB / 0.7635 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.783e-06/0.004051, allocations: 7.938 kB / 0.7635 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.662e-06/0.004057, allocations: 1.656 kB / 0.7635 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.364e-05/0.004091, allocations: 4.656 kB / 0.7635 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.263e-05/0.004114, allocations: 3.984 kB / 0.7635 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-06/0.004116, allocations: 0 / 0.7635 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.362e-05/0.004129, allocations: 20.78 kB / 0.7636 GB, free: 2.863 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.004129, allocations: 2.906 kB / 0.7636 GB, free: 2.863 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001126/0.004242, allocations: 8 kB / 0.7636 GB, free: 2.855 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 4.94e-05/0.004291, allocations: 76.36 kB / 0.7636 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 4.674e-05/0.004338, allocations: 16.84 kB / 0.7637 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.004341, allocations: 4 kB / 0.7637 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.466e-05/0.004355, allocations: 12.83 kB / 0.7637 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001093/0.004465, allocations: 8.125 kB / 0.7637 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001841/0.004649, allocations: 124.6 kB / 0.7638 GB, free: 2.582 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.844e-05/0.004677, allocations: 51.36 kB / 0.7638 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.578e-05/0.004693, allocations: 4 kB / 0.7639 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.733e-05/0.00473, allocations: 49.84 kB / 0.7639 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of SimCode: time 3.91e-07/0.004731, allocations: 0 / 0.7639 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of Templates: time 0.001662/0.006393, allocations: 0.6529 MB / 0.7645 GB, free: 1.832 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 -s gbode -gbm=radauIIA3 -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.936798097100109]