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.0009807/0.0009807, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001394/0.001394, allocations: 181 kB / 24.09 MB, free: 420 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.957/0.957, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.833/1.833, allocations: 377.9 MB / 0.6239 GB, free: 8.438 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.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 3.206e-06/3.206e-06, allocations: 4.766 kB / 0.8121 GB, free: 1.395 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.697e-05/2.018e-05, allocations: 2.312 kB / 0.8121 GB, free: 1.391 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001311/0.001332, allocations: 0.6062 MB / 0.8127 GB, free: 0.8008 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0002765/0.001608, allocations: 92.31 kB / 0.8127 GB, free: 0.7109 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.178e-05/0.00163, allocations: 0 / 0.8127 GB, free: 0.7109 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.09e-05/0.001651, allocations: 1.25 kB / 0.8127 GB, free: 0.7109 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.652e-05/0.001707, allocations: 0 / 0.8127 GB, free: 0.7109 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002149/0.001922, allocations: 15.98 kB / 0.8128 GB, free: 0.6953 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 5.213e-05/0.001974, allocations: 10.38 kB / 0.8128 GB, free: 0.6875 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 4.43e-05/0.002019, allocations: 0 / 0.8128 GB, free: 0.6875 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 4.49e-05/0.002064, allocations: 7.938 kB / 0.8128 GB, free: 0.6797 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 8.405e-05/0.002148, allocations: 11.97 kB / 0.8128 GB, free: 0.668 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.002162, allocations: 4 kB / 0.8128 GB, free: 0.6641 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 5.924e-05/0.002221, allocations: 11.92 kB / 0.8128 GB, free: 0.6523 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.419e-05/0.002235, allocations: 5.531 kB / 0.8128 GB, free: 0.6484 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 4.385e-05/0.002279, allocations: 0 / 0.8128 GB, free: 0.6484 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 8.887e-05/0.002368, allocations: 11.98 kB / 0.8128 GB, free: 0.6367 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.002371, allocations: 4 kB / 0.8128 GB, free: 0.6328 MB / 0.7605 GB Notification: Performance of FrontEnd: time 5.21e-07/0.002372, allocations: 1.406 kB / 0.8128 GB, free: 0.6328 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.002375, allocations: 0 / 0.8128 GB, free: 0.6328 MB / 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.0002742/0.00265, allocations: 348.3 kB / 0.8132 GB, free: 260 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.00269, allocations: 12.03 kB / 0.8132 GB, free: 248 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/0.002798, allocations: 13.98 kB / 0.8132 GB, free: 236 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.919e-05/0.002857, allocations: 104.6 kB / 0.8133 GB, free: 104 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.002871, allocations: 5.281 kB / 0.8133 GB, free: 100 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.99e-06/0.002876, allocations: 384 / 0.8133 GB, free: 100 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.486e-05/0.002961, allocations: 47.73 kB / 0.8133 GB, free: 44 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.862e-06/0.002968, allocations: 192 / 0.8133 GB, free: 44 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.603e-06/0.002974, allocations: 8.844 kB / 0.8133 GB, free: 36 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.002979, allocations: 4.312 kB / 0.8133 GB, free: 32 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.248e-05/0.003002, allocations: 13.3 kB / 0.8134 GB, free: 20 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001068/0.003109, allocations: 93.31 kB / 0.8134 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.091e-05/0.00318, allocations: 39.11 kB / 0.8135 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.55e-05/0.003205, allocations: 16.83 kB / 0.8135 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.003222, allocations: 4 kB / 0.8135 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.003246, allocations: 33.39 kB / 0.8135 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 8.11e-07/0.003247, allocations: 0.8438 kB / 0.8135 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001208/0.003368, allocations: 45.62 kB / 0.8136 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/0.003395, allocations: 55.94 kB / 0.8136 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.939e-05/0.003435, allocations: 143 kB / 0.8138 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.003447, allocations: 25.7 kB / 0.8138 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.148e-05/0.003478, allocations: 132 kB / 0.8139 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.182e-05/0.00351, allocations: 16.22 kB / 0.8139 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.528e-05/0.003535, allocations: 19.38 kB / 0.814 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.003653, allocations: 496.9 kB / 0.8144 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.343e-05/0.003666, allocations: 4 kB / 0.8144 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.737e-06/0.003675, allocations: 3.984 kB / 0.8144 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.448e-05/0.003709, allocations: 25.19 kB / 0.8145 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.003711, allocations: 0 / 0.8145 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.819e-05/0.003759, allocations: 37.69 kB / 0.8145 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.003772, allocations: 8.625 kB / 0.8145 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.003777, allocations: 1.094 kB / 0.8145 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.003788, allocations: 0 / 0.8145 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.003924, allocations: 23.23 kB / 0.8145 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007699/0.004694, allocations: 1.783 MB / 0.8163 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.384e-05/0.004708, allocations: 8.469 kB / 0.8163 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.605e-06/0.004711, allocations: 1.938 kB / 0.8163 GB, free: 12.81 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 (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.836e-05/0.004769, allocations: 156.6 kB / 0.8164 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.328e-06/0.004773, allocations: 0 / 0.8164 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.215e-05/0.004786, allocations: 7.531 kB / 0.8164 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.004788, allocations: 9.406 kB / 0.8164 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-07/0.004789, allocations: 0 / 0.8164 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.00479, allocations: 0 / 0.8164 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.28e-05/0.004843, allocations: 101.2 kB / 0.8165 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.004845, allocations: 5.125 kB / 0.8165 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.004947, allocations: 36.75 kB / 0.8166 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.004948, allocations: 0.8438 kB / 0.8166 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.529e-06/0.004953, allocations: 3.984 kB / 0.8166 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006613/0.005614, allocations: 1.777 MB / 0.8183 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.005615, allocations: 10.3 kB / 0.8183 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.553e-05/0.005671, allocations: 76.44 kB / 0.8184 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.073e-06/0.005673, allocations: 0 / 0.8184 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.008e-06/0.005677, allocations: 3.938 kB / 0.8184 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.064e-05/0.005688, allocations: 4 kB / 0.8184 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.268e-05/0.0057, allocations: 0 / 0.8184 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-06/0.005703, allocations: 3.031 kB / 0.8184 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.256e-05/0.005735, allocations: 119.2 kB / 0.8185 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of sort global known variables: time 3e-08/0.005735, allocations: 0 / 0.8185 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001209/0.005856, allocations: 4 kB / 0.8185 GB, free: 10.34 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 (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.288e-05/0.005939, allocations: 103.2 kB / 0.8186 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001682/0.006107, allocations: 48.5 kB / 0.8187 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.006109, allocations: 1.125 kB / 0.8187 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.679e-05/0.006196, allocations: 33.06 kB / 0.8187 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.933e-05/0.006295, allocations: 7.938 kB / 0.8187 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002003/0.006495, allocations: 103.1 kB / 0.8188 GB, free: 10 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.2e-05/0.006527, allocations: 59.28 kB / 0.8189 GB, free: 9.926 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.874e-05/0.006546, allocations: 5.219 kB / 0.8189 GB, free: 9.922 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.472e-05/0.006581, allocations: 66.2 kB / 0.8189 GB, free: 9.855 MB / 0.7761 GB Notification: Performance of SimCode: time 3.41e-07/0.006581, allocations: 4.438 kB / 0.8189 GB, free: 9.852 MB / 0.7761 GB Notification: Performance of Templates: time 0.001906/0.008488, allocations: 0.5007 MB / 0.8194 GB, free: 9.371 MB / 0.7761 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.760953509248793]