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.001339/0.001339, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.0016/0.0016, allocations: 166.1 kB / 24.87 MB, free: 9.258 MB / 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.9827/0.9827, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.94/1.94, allocations: 377.9 MB / 0.6247 GB, free: 8.406 MB / 0.5886 GB " [Timeout remaining time 177] 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 1.552e-06/1.552e-06, allocations: 0 / 0.8128 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.404e-05/2.559e-05, allocations: 3.078 kB / 0.8128 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002782/0.002807, allocations: 1.489 MB / 0.8142 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.00028/0.003087, allocations: 92.36 kB / 0.8143 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.008e-05/0.003127, allocations: 0.9062 kB / 0.8143 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 5.399e-05/0.003181, allocations: 0 / 0.8143 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.765e-05/0.003239, allocations: 8.594 kB / 0.8143 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001966/0.003436, allocations: 19.97 kB / 0.8144 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.48e-05/0.0035, allocations: 24.8 kB / 0.8144 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.146e-05/0.003582, allocations: 7.938 kB / 0.8144 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.446e-05/0.003636, allocations: 13.08 kB / 0.8144 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.237e-05/0.003669, allocations: 7.984 kB / 0.8144 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.357e-05/0.003682, allocations: 0 / 0.8144 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.33e-05/0.003736, allocations: 21.55 kB / 0.8144 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.506e-05/0.003751, allocations: 4 kB / 0.8144 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.72e-05/0.003768, allocations: 11.92 kB / 0.8144 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 9.684e-05/0.003865, allocations: 31.89 kB / 0.8145 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.003867, allocations: 1.531 kB / 0.8145 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.22e-07/0.003868, allocations: 0 / 0.8145 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.003872, allocations: 0 / 0.8145 GB, free: 15.72 MB / 0.7761 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.0003189/0.004191, allocations: 368.5 kB / 0.8148 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.004225, allocations: 9.312 kB / 0.8148 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001293/0.004354, allocations: 12.92 kB / 0.8148 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.962e-05/0.004434, allocations: 112.6 kB / 0.815 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.004447, allocations: 9.625 kB / 0.815 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.21e-06/0.004452, allocations: 384 / 0.815 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.516e-05/0.004547, allocations: 58.94 kB / 0.815 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.004555, allocations: 0.7188 kB / 0.815 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.652e-06/0.004561, allocations: 384 / 0.815 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.004567, allocations: 2.438 kB / 0.815 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.926e-05/0.004596, allocations: 7.938 kB / 0.815 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002383/0.004834, allocations: 244.3 kB / 0.8153 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.875e-05/0.004893, allocations: 39.08 kB / 0.8153 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.583e-05/0.004909, allocations: 8.219 kB / 0.8153 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.082e-05/0.00492, allocations: 0.7188 kB / 0.8153 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.004943, allocations: 37.45 kB / 0.8153 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.004944, allocations: 1.5 kB / 0.8153 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.003232/0.008176, allocations: 49.56 kB / 0.8154 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.579e-05/0.008231, allocations: 51.41 kB / 0.8154 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.008366, allocations: 162.5 kB / 0.8156 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.008386, allocations: 25.7 kB / 0.8156 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.072e-05/0.008467, allocations: 139.8 kB / 0.8158 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.263e-05/0.008499, allocations: 3.953 kB / 0.8158 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.606e-05/0.008555, allocations: 19.38 kB / 0.8158 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002019/0.008757, allocations: 496.9 kB / 0.8162 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.769e-05/0.008795, allocations: 3.984 kB / 0.8163 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.196e-05/0.008817, allocations: 4.625 kB / 0.8163 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.398e-05/0.008871, allocations: 13 kB / 0.8163 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.008873, allocations: 0 / 0.8163 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001272/0.009001, allocations: 39.39 kB / 0.8163 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.009026, allocations: 8 kB / 0.8163 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.009034, allocations: 0 / 0.8163 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.009051, allocations: 3.938 kB / 0.8163 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.009182, allocations: 7.984 kB / 0.8163 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.009186, allocations: 1.281 kB / 0.8163 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.592e-05/0.009232, allocations: 7.938 kB / 0.8163 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.009239, allocations: 0 / 0.8163 GB, free: 13.62 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 0.0001233/0.009363, allocations: 169.5 kB / 0.8165 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.064e-05/0.009393, allocations: 0 / 0.8165 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.18e-05/0.009435, allocations: 5.938 kB / 0.8165 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.822e-06/0.009442, allocations: 7.938 kB / 0.8165 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.009446, allocations: 0 / 0.8165 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.00945, allocations: 0 / 0.8165 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001896/0.00964, allocations: 101.2 kB / 0.8166 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.009642, allocations: 0 / 0.8166 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.578e-05/0.009728, allocations: 11.44 kB / 0.8166 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.009733, allocations: 0 / 0.8166 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-06/0.009742, allocations: 4.188 kB / 0.8166 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.009747, allocations: 7.938 kB / 0.8166 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.00975, allocations: 0 / 0.8166 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003011/0.01005, allocations: 195.8 kB / 0.8168 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.336e-05/0.01006, allocations: 0 / 0.8168 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.01008, allocations: 0 / 0.8168 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.01019, allocations: 8.859 kB / 0.8168 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.443e-05/0.01023, allocations: 4 kB / 0.8168 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.01023, allocations: 7.938 kB / 0.8168 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.566e-05/0.01028, allocations: 131.7 kB / 0.817 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01028, allocations: 0.5625 kB / 0.817 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001412/0.01042, allocations: 4 kB / 0.817 GB, free: 12.93 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 0.0001218/0.01054, allocations: 93.03 kB / 0.8171 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.881e-05/0.01064, allocations: 19.62 kB / 0.8171 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.01064, allocations: 0.7188 kB / 0.8171 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.054e-05/0.01066, allocations: 11.69 kB / 0.8171 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002264/0.01089, allocations: 14.91 kB / 0.8171 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002856/0.01118, allocations: 120 kB / 0.8172 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.63e-05/0.01121, allocations: 63.14 kB / 0.8173 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.944e-05/0.01123, allocations: 1.812 kB / 0.8173 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.138e-05/0.01128, allocations: 70.2 kB / 0.8173 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of SimCode: time 9.82e-07/0.01128, allocations: 0 / 0.8173 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of Templates: time 0.0022/0.01348, allocations: 0.7317 MB / 0.8181 GB, free: 11.78 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.204588096123189]