Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009824/0.0009824, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001071/0.001071, allocations: 177 kB / 23.36 MB, free: 1.133 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.9951/0.9951, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.341/2.341, allocations: 438.8 MB / 0.6826 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.8386 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.299e-05/2.455e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002074/0.002099, allocations: 1.506 MB / 0.84 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0002357/0.002335, allocations: 95.59 kB / 0.8401 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.102e-05/0.002366, allocations: 4 kB / 0.8401 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.619e-05/0.002392, allocations: 3.938 kB / 0.8401 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.624e-05/0.002438, allocations: 3.938 kB / 0.8401 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001801/0.002618, allocations: 15.92 kB / 0.8402 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.002721, allocations: 31.92 kB / 0.8402 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.521e-05/0.002797, allocations: 7.969 kB / 0.8402 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 5.441e-05/0.002851, allocations: 12 kB / 0.8402 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.458e-05/0.002886, allocations: 11.92 kB / 0.8402 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.002901, allocations: 4 kB / 0.8402 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 5.015e-05/0.002951, allocations: 11.98 kB / 0.8402 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.335e-05/0.002965, allocations: 4 kB / 0.8402 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.534e-05/0.00298, allocations: 11.98 kB / 0.8403 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 9.06e-05/0.003071, allocations: 35.83 kB / 0.8403 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.003072, allocations: 0 / 0.8403 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.11e-07/0.003073, allocations: 0 / 0.8403 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.076e-06/0.003076, allocations: 4 kB / 0.8403 GB, free: 12.46 MB / 0.8073 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.0002694/0.003346, allocations: 236.9 kB / 0.8405 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.003377, allocations: 8.625 kB / 0.8405 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001136/0.003491, allocations: 12.92 kB / 0.8405 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.314e-05/0.003574, allocations: 117.8 kB / 0.8406 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.003585, allocations: 384 / 0.8406 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.258e-06/0.003594, allocations: 4.312 kB / 0.8407 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.229e-05/0.003686, allocations: 58.94 kB / 0.8407 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.861e-06/0.003692, allocations: 192 / 0.8407 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.372e-06/0.003698, allocations: 4.375 kB / 0.8407 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.003703, allocations: 384 / 0.8407 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.21e-05/0.003725, allocations: 11.92 kB / 0.8407 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001899/0.003915, allocations: 148.3 kB / 0.8409 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.577e-05/0.003961, allocations: 26.52 kB / 0.8409 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.349e-05/0.003974, allocations: 8.922 kB / 0.8409 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.003984, allocations: 0 / 0.8409 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.004005, allocations: 34.59 kB / 0.8409 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 7.02e-07/0.004005, allocations: 0 / 0.8409 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 9.767e-05/0.004103, allocations: 37.7 kB / 0.841 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.736e-05/0.0042, allocations: 59.34 kB / 0.841 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.44e-05/0.004255, allocations: 118.6 kB / 0.8411 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.475e-06/0.004263, allocations: 25.7 kB / 0.8412 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.76e-05/0.004291, allocations: 84.14 kB / 0.8412 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.485e-05/0.004306, allocations: 3.953 kB / 0.8412 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.653e-05/0.004332, allocations: 21.69 kB / 0.8413 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.854e-05/0.004401, allocations: 314.8 kB / 0.8416 GB, free: 11 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.178e-05/0.004413, allocations: 4 kB / 0.8416 GB, free: 11 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.285e-06/0.004421, allocations: 0 / 0.8416 GB, free: 11 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.893e-05/0.00445, allocations: 17.03 kB / 0.8416 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.004451, allocations: 4 kB / 0.8416 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.311e-05/0.004495, allocations: 33.7 kB / 0.8416 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.004505, allocations: 6.344 kB / 0.8416 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.00451, allocations: 0 / 0.8416 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.004521, allocations: 3.938 kB / 0.8416 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.398e-05/0.004585, allocations: 11.92 kB / 0.8416 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.046e-06/0.004588, allocations: 4 kB / 0.8417 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.965e-05/0.004608, allocations: 11.89 kB / 0.8417 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.968e-06/0.004612, allocations: 4 kB / 0.8417 GB, free: 10.9 MB / 0.8073 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.72e-05/0.004659, allocations: 109.9 kB / 0.8418 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.277e-05/0.004672, allocations: 3.984 kB / 0.8418 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.195e-05/0.004693, allocations: 7.625 kB / 0.8418 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.004695, allocations: 0 / 0.8418 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.004697, allocations: 3.938 kB / 0.8418 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.004701, allocations: 3.984 kB / 0.8418 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.778e-05/0.004779, allocations: 73.88 kB / 0.8419 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.00478, allocations: 0 / 0.8419 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.217e-05/0.004802, allocations: 4 kB / 0.8419 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.004804, allocations: 4 kB / 0.8419 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.757e-06/0.004808, allocations: 0 / 0.8419 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.004808, allocations: 0 / 0.8419 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.00481, allocations: 3.984 kB / 0.8419 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.125e-05/0.004881, allocations: 143.4 kB / 0.842 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.21e-06/0.004887, allocations: 0 / 0.842 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.957e-06/0.004896, allocations: 7.984 kB / 0.842 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.847e-05/0.004924, allocations: 0 / 0.842 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.416e-05/0.004948, allocations: 4 kB / 0.842 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.00495, allocations: 0 / 0.842 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.273e-05/0.004963, allocations: 21.03 kB / 0.842 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.004963, allocations: 4.031 kB / 0.842 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001057/0.005069, allocations: 4 kB / 0.842 GB, free: 10.46 MB / 0.8073 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.033e-05/0.005139, allocations: 80.42 kB / 0.8421 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.16e-05/0.005191, allocations: 12.8 kB / 0.8421 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.005193, allocations: 0 / 0.8421 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.579e-05/0.005208, allocations: 12.8 kB / 0.8421 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001239/0.005332, allocations: 7.984 kB / 0.8422 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002124/0.005545, allocations: 116.9 kB / 0.8423 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.299e-05/0.005578, allocations: 59.34 kB / 0.8423 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.58e-05/0.005593, allocations: 0 / 0.8423 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.376e-05/0.005637, allocations: 51.38 kB / 0.8424 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of SimCode: time 7.52e-07/0.005638, allocations: 0 / 0.8424 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of Templates: time 0.002123/0.007761, allocations: 0.6497 MB / 0.843 GB, free: 9.426 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.292132961098105]