Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower.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.0009782/0.0009782, 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.001048/0.001048, allocations: 165.6 kB / 24.87 MB, free: 8.891 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.9047/0.9047, allocations: 177.2 MB / 205.3 MB, free: 5.48 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.904/1.904, allocations: 377.9 MB / 0.6247 GB, free: 8.414 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.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 0.8128 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.567e-05/1.693e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.001739/0.001756, allocations: 1.484 MB / 0.8142 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.000505/0.002261, allocations: 371.4 kB / 0.8146 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.168e-05/0.002293, allocations: 4.938 kB / 0.8146 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.042e-05/0.002313, allocations: 0 / 0.8146 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 3.965e-05/0.002353, allocations: 6.219 kB / 0.8146 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003204/0.002673, allocations: 111.6 kB / 0.8147 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 5.225e-05/0.002725, allocations: 27.86 kB / 0.8147 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 6.942e-05/0.002795, allocations: 5.344 kB / 0.8147 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.03e-05/0.002845, allocations: 15.97 kB / 0.8148 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.075e-05/0.002876, allocations: 11.98 kB / 0.8148 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.002886, allocations: 0 / 0.8148 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002561/0.003143, allocations: 253.2 kB / 0.815 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.629e-05/0.003159, allocations: 11.98 kB / 0.815 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.25e-05/0.003171, allocations: 3.938 kB / 0.815 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001589/0.00333, allocations: 135.6 kB / 0.8152 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.003332, allocations: 0.5312 kB / 0.8152 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.51e-07/0.003333, allocations: 0 / 0.8152 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.845e-06/0.003336, allocations: 0.7188 kB / 0.8152 GB, free: 15.03 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.0002887/0.003624, allocations: 388.9 kB / 0.8155 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.003656, allocations: 8.031 kB / 0.8155 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.293e-05/0.003708, allocations: 6.25 kB / 0.8155 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.576e-05/0.003784, allocations: 112.6 kB / 0.8156 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.003795, allocations: 8.359 kB / 0.8157 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.342e-06/0.003801, allocations: 4.844 kB / 0.8157 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.964e-05/0.003881, allocations: 56.33 kB / 0.8157 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.003887, allocations: 4.172 kB / 0.8157 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.08e-06/0.003892, allocations: 384 / 0.8157 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-06/0.003896, allocations: 384 / 0.8157 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.162e-05/0.003917, allocations: 13.03 kB / 0.8157 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001853/0.004103, allocations: 228.4 kB / 0.8159 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 3.84e-05/0.004141, allocations: 31.09 kB / 0.816 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.432e-05/0.004155, allocations: 12.91 kB / 0.816 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002617/0.004417, allocations: 75.14 kB / 0.8161 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.836e-05/0.004435, allocations: 37.39 kB / 0.8161 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.004436, allocations: 0 / 0.8161 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001188/0.004555, allocations: 50.84 kB / 0.8161 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.445e-05/0.004579, allocations: 55.39 kB / 0.8162 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.023e-05/0.00464, allocations: 161.9 kB / 0.8163 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.667e-06/0.004648, allocations: 27.39 kB / 0.8164 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.692e-05/0.004695, allocations: 134.8 kB / 0.8165 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.493e-05/0.00471, allocations: 7.953 kB / 0.8165 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.33e-05/0.004734, allocations: 19.38 kB / 0.8165 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.00484, allocations: 498.8 kB / 0.817 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.805e-06/0.004848, allocations: 0 / 0.817 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.094e-06/0.004855, allocations: 0 / 0.817 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.159e-05/0.004876, allocations: 19.61 kB / 0.817 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.004878, allocations: 0 / 0.817 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.827e-05/0.004937, allocations: 37.7 kB / 0.8171 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.004947, allocations: 4.5 kB / 0.8171 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.00495, allocations: 0.5312 kB / 0.8171 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.065e-06/0.004958, allocations: 3.938 kB / 0.8171 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.923e-05/0.004998, allocations: 9.938 kB / 0.8171 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.858e-06/0.005002, allocations: 3.984 kB / 0.8171 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.746e-05/0.005019, allocations: 7.938 kB / 0.8171 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.286e-06/0.005022, allocations: 0 / 0.8171 GB, free: 12.86 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 5.438e-05/0.005077, allocations: 162.3 kB / 0.8172 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.426e-05/0.005101, allocations: 7.953 kB / 0.8173 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.569e-05/0.005157, allocations: 49.19 kB / 0.8173 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.005162, allocations: 7.938 kB / 0.8173 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.005164, allocations: 0.8125 kB / 0.8173 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.005166, allocations: 0 / 0.8173 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.436e-05/0.005251, allocations: 98.12 kB / 0.8174 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.005252, allocations: 0 / 0.8174 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.709e-05/0.005269, allocations: 4 kB / 0.8174 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.22e-07/0.005269, allocations: 0.8125 kB / 0.8174 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.336e-06/0.005273, allocations: 0 / 0.8174 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.72e-07/0.005273, allocations: 5.281 kB / 0.8174 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.005274, allocations: 0 / 0.8174 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.303e-05/0.005357, allocations: 192.1 kB / 0.8176 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.689e-06/0.005362, allocations: 4.844 kB / 0.8176 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.895e-06/0.00537, allocations: 4 kB / 0.8176 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.09e-05/0.0054, allocations: 10.95 kB / 0.8176 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.113e-05/0.005422, allocations: 0 / 0.8176 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.005424, allocations: 3.938 kB / 0.8176 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.513e-05/0.005459, allocations: 123.2 kB / 0.8177 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.005459, allocations: 0 / 0.8177 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001573/0.005617, allocations: 19.94 kB / 0.8178 GB, free: 12.12 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.0001006/0.005717, allocations: 121.7 kB / 0.8179 GB, free: 12 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 5.086e-05/0.005768, allocations: 15.69 kB / 0.8179 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.005769, allocations: 0 / 0.8179 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.638e-05/0.005786, allocations: 19.61 kB / 0.8179 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001595/0.005945, allocations: 7.938 kB / 0.8179 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001728/0.006118, allocations: 114.4 kB / 0.818 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.919e-05/0.006147, allocations: 60.28 kB / 0.8181 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.65e-05/0.006164, allocations: 7.984 kB / 0.8181 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.7e-05/0.006201, allocations: 71.28 kB / 0.8182 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of SimCode: time 3.61e-07/0.006201, allocations: 0 / 0.8182 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of Templates: time 0.002041/0.008242, allocations: 0.8458 MB / 0.819 GB, free: 10.83 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_RegNonZeroPower.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.937215776182711]