Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.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.0007732/0.0007732, allocations: 80.8 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.000918/0.000918, 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.9519/0.9519, allocations: 177.1 MB / 204.6 MB, free: 5.148 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.902/1.902, allocations: 377.9 MB / 0.624 GB, free: 8.387 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.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|TExact",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|TExact",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.7601 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.381e-05/1.537e-05, allocations: 3.25 kB / 0.7601 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001008/0.001023, allocations: 0.616 MB / 0.7607 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0002249/0.001248, allocations: 102.1 kB / 0.7608 GB, free: 5.93 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.528e-05/0.001263, allocations: 0 / 0.7608 GB, free: 5.93 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.44e-05/0.001278, allocations: 3.938 kB / 0.7608 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.097e-05/0.001319, allocations: 0 / 0.7608 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001894/0.001508, allocations: 18.12 kB / 0.7608 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.389e-05/0.001562, allocations: 8.641 kB / 0.7608 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.074e-05/0.001603, allocations: 0 / 0.7608 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.888e-05/0.001642, allocations: 8.531 kB / 0.7608 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.455e-05/0.001726, allocations: 1.406 kB / 0.7608 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.001741, allocations: 4 kB / 0.7608 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 5.79e-05/0.001798, allocations: 16.92 kB / 0.7608 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.486e-05/0.001813, allocations: 0.5469 kB / 0.7608 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.105e-05/0.001824, allocations: 5.203 kB / 0.7608 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 7.486e-05/0.001899, allocations: 25.36 kB / 0.7609 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.001901, allocations: 0 / 0.7609 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.81e-07/0.001901, allocations: 0 / 0.7609 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.196e-06/0.001905, allocations: 4 kB / 0.7609 GB, free: 5.844 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.0002353/0.00214, allocations: 210 kB / 0.7611 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.002172, allocations: 12.91 kB / 0.7611 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001052/0.002277, allocations: 6.188 kB / 0.7611 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.478e-05/0.002332, allocations: 113.7 kB / 0.7612 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.002347, allocations: 384 / 0.7612 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.746e-06/0.002356, allocations: 384 / 0.7612 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.841e-05/0.002444, allocations: 51.58 kB / 0.7612 GB, free: 5.402 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.002453, allocations: 0.75 kB / 0.7612 GB, free: 5.402 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.192e-06/0.00246, allocations: 384 / 0.7612 GB, free: 5.402 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.513e-06/0.002466, allocations: 7.062 kB / 0.7612 GB, free: 5.398 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.383e-05/0.00249, allocations: 11.88 kB / 0.7613 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.175e-05/0.002582, allocations: 61.03 kB / 0.7613 GB, free: 5.312 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.228e-05/0.002654, allocations: 26.61 kB / 0.7613 GB, free: 5.277 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.59e-05/0.00267, allocations: 13.89 kB / 0.7613 GB, free: 5.262 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.00268, allocations: 0 / 0.7613 GB, free: 5.262 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/0.002699, allocations: 31.88 kB / 0.7614 GB, free: 5.223 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 7.41e-07/0.0027, allocations: 0 / 0.7614 GB, free: 5.223 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 9.876e-05/0.002799, allocations: 45.62 kB / 0.7614 GB, free: 5.172 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.002828, allocations: 51.41 kB / 0.7615 GB, free: 5.109 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.703e-05/0.002855, allocations: 91.48 kB / 0.7616 GB, free: 5.012 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.648e-06/0.002865, allocations: 25.7 kB / 0.7616 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 1.892e-05/0.002884, allocations: 84.89 kB / 0.7617 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.916e-05/0.002913, allocations: 8.281 kB / 0.7617 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.348e-05/0.002937, allocations: 18.47 kB / 0.7617 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.614e-05/0.003013, allocations: 318.8 kB / 0.762 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.528e-06/0.003022, allocations: 6.188 kB / 0.762 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.603e-06/0.003029, allocations: 4.172 kB / 0.762 GB, free: 4.535 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.887e-05/0.003058, allocations: 18.05 kB / 0.762 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.00306, allocations: 0 / 0.762 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.031e-05/0.0031, allocations: 45.62 kB / 0.7621 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.00311, allocations: 5.406 kB / 0.7621 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.003115, allocations: 7.125 kB / 0.7621 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.003126, allocations: 0 / 0.7621 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.00326, allocations: 23.97 kB / 0.7621 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006046/0.003865, allocations: 1.193 MB / 0.7633 GB, free: 3.156 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.196e-05/0.003877, allocations: 3.984 kB / 0.7633 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.547e-06/0.00388, allocations: 7.094 kB / 0.7633 GB, free: 3.148 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 5.058e-05/0.003931, allocations: 109.8 kB / 0.7634 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.618e-06/0.003936, allocations: 4.656 kB / 0.7634 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.442e-06/0.003942, allocations: 3.531 kB / 0.7634 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.91e-07/0.003943, allocations: 0 / 0.7634 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.003944, allocations: 3.938 kB / 0.7634 GB, free: 3.016 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.003947, allocations: 0 / 0.7634 GB, free: 3.016 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.258e-05/0.003989, allocations: 68.67 kB / 0.7635 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.00399, allocations: 0.7656 kB / 0.7635 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.32e-05/0.004083, allocations: 23.98 kB / 0.7635 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.004085, allocations: 3.984 kB / 0.7635 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.366e-06/0.004089, allocations: 1.562 kB / 0.7635 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004608/0.00455, allocations: 1.201 MB / 0.7647 GB, free: 1.621 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.00455, allocations: 0.5625 kB / 0.7647 GB, free: 1.621 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.975e-05/0.0046, allocations: 77.03 kB / 0.7647 GB, free: 1.527 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.757e-06/0.004604, allocations: 5.828 kB / 0.7647 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.905e-06/0.004607, allocations: 0 / 0.7647 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.248e-05/0.004619, allocations: 4.594 kB / 0.7647 GB, free: 1.52 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.499e-05/0.004634, allocations: 4 kB / 0.7647 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.004636, allocations: 0.5312 kB / 0.7647 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.745e-06/0.004644, allocations: 7.891 kB / 0.7648 GB, free: 1.508 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3e-08/0.004644, allocations: 0 / 0.7648 GB, free: 1.508 MB / 0.7136 GB Notification: Performance of remove unused functions: time 9.784e-05/0.004742, allocations: 4 kB / 0.7648 GB, free: 1.504 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.512e-05/0.004827, allocations: 84.41 kB / 0.7648 GB, free: 1.41 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001552/0.004982, allocations: 38.92 kB / 0.7649 GB, free: 1.371 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.004984, allocations: 0 / 0.7649 GB, free: 1.371 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.921e-05/0.005064, allocations: 30.31 kB / 0.7649 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.415e-05/0.005118, allocations: 5.656 kB / 0.7649 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001851/0.005303, allocations: 106.1 kB / 0.765 GB, free: 1.207 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.886e-05/0.005332, allocations: 59.34 kB / 0.7651 GB, free: 1.129 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.906e-05/0.005351, allocations: 1.953 kB / 0.7651 GB, free: 1.129 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.372e-05/0.005385, allocations: 51.38 kB / 0.7651 GB, free: 1.078 MB / 0.7136 GB Notification: Performance of SimCode: time 4.51e-07/0.005385, allocations: 0.9375 kB / 0.7651 GB, free: 1.078 MB / 0.7136 GB Notification: Performance of Templates: time 0.001771/0.007156, allocations: 0.5049 MB / 0.7656 GB, free: 0.5938 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_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.879120057914406]