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.001011/0.001011, allocations: 81.86 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.0009819/0.0009819, allocations: 181 kB / 24.09 MB, free: 416 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 1.048/1.048, allocations: 177.1 MB / 204.5 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.95/1.95, allocations: 377.9 MB / 0.6239 GB, free: 8.418 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.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 2.124e-06/2.124e-06, allocations: 0 / 0.812 GB, free: 1.473 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.435e-05/3.647e-05, allocations: 2.312 kB / 0.812 GB, free: 1.469 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.002233/0.00227, allocations: 1.49 MB / 0.8135 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.000571/0.002841, allocations: 372.2 kB / 0.8138 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.238e-05/0.002883, allocations: 4 kB / 0.8138 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.003e-05/0.002913, allocations: 3.938 kB / 0.8138 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.539e-05/0.002969, allocations: 4.594 kB / 0.8138 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004255/0.003394, allocations: 113.2 kB / 0.8139 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.637e-05/0.00346, allocations: 23.92 kB / 0.814 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.95e-05/0.00355, allocations: 8.641 kB / 0.814 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.792e-05/0.003608, allocations: 12 kB / 0.814 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.953e-05/0.003647, allocations: 14.33 kB / 0.814 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.003662, allocations: 0 / 0.814 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002845/0.003947, allocations: 263.6 kB / 0.8142 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.476e-05/0.003972, allocations: 0 / 0.8142 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.911e-05/0.003991, allocations: 7.984 kB / 0.8143 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001923/0.004183, allocations: 135.5 kB / 0.8144 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.004187, allocations: 0 / 0.8144 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.122e-06/0.004188, allocations: 0.9688 kB / 0.8144 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.004193, allocations: 0 / 0.8144 GB, free: 15.05 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.0003612/0.004554, allocations: 389.2 kB / 0.8148 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.004594, allocations: 8.031 kB / 0.8148 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.035e-05/0.004664, allocations: 9.969 kB / 0.8148 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.28e-05/0.004747, allocations: 112.6 kB / 0.8149 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.004758, allocations: 4.375 kB / 0.8149 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.903e-06/0.004764, allocations: 1.719 kB / 0.8149 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.004875, allocations: 58.88 kB / 0.8149 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.004882, allocations: 192 / 0.8149 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.911e-06/0.004888, allocations: 2.312 kB / 0.8149 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.004893, allocations: 384 / 0.8149 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.722e-05/0.00492, allocations: 7.938 kB / 0.8149 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002477/0.005168, allocations: 236.5 kB / 0.8152 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.865e-05/0.005217, allocations: 27.06 kB / 0.8152 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.531e-05/0.005232, allocations: 9.438 kB / 0.8152 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003294/0.005562, allocations: 81.83 kB / 0.8153 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.00559, allocations: 37.39 kB / 0.8153 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.005591, allocations: 0.5312 kB / 0.8153 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001776/0.005768, allocations: 46.77 kB / 0.8154 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.809e-05/0.005797, allocations: 55.34 kB / 0.8154 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.352e-05/0.00588, allocations: 166.4 kB / 0.8156 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.00589, allocations: 25.7 kB / 0.8156 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.168e-05/0.005942, allocations: 132.2 kB / 0.8157 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.078e-05/0.005963, allocations: 7.953 kB / 0.8157 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.07e-05/0.005993, allocations: 15.38 kB / 0.8158 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.006141, allocations: 0.4884 MB / 0.8162 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.496e-05/0.006156, allocations: 5.141 kB / 0.8162 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.117e-05/0.006167, allocations: 7.938 kB / 0.8162 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.995e-05/0.006197, allocations: 16.53 kB / 0.8163 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.006199, allocations: 0 / 0.8163 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.505e-05/0.006284, allocations: 34.55 kB / 0.8163 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.0063, allocations: 5.281 kB / 0.8163 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.006306, allocations: 0 / 0.8163 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.006325, allocations: 7.938 kB / 0.8163 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.949e-05/0.006394, allocations: 7.984 kB / 0.8163 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.006399, allocations: 0.8438 kB / 0.8163 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.81e-05/0.006417, allocations: 3.938 kB / 0.8163 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-06/0.006421, allocations: 5.094 kB / 0.8163 GB, free: 12.88 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 6.948e-05/0.006491, allocations: 156.5 kB / 0.8165 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.13e-05/0.006522, allocations: 9.328 kB / 0.8165 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.727e-05/0.006609, allocations: 45.31 kB / 0.8165 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.006612, allocations: 3.938 kB / 0.8165 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.103e-06/0.006614, allocations: 1.406 kB / 0.8165 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.006618, allocations: 256 / 0.8165 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.462e-05/0.006712, allocations: 97.25 kB / 0.8166 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.006715, allocations: 4 kB / 0.8166 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.746e-05/0.006742, allocations: 10.94 kB / 0.8166 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.006746, allocations: 4 kB / 0.8166 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.859e-06/0.006751, allocations: 3.984 kB / 0.8166 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.006752, allocations: 0 / 0.8166 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.006753, allocations: 0 / 0.8166 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001133/0.006867, allocations: 187.8 kB / 0.8168 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.292e-06/0.006873, allocations: 0 / 0.8168 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.659e-06/0.006882, allocations: 4.484 kB / 0.8168 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.963e-05/0.006912, allocations: 5.312 kB / 0.8168 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.446e-05/0.006947, allocations: 11.92 kB / 0.8168 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-06/0.006951, allocations: 3.938 kB / 0.8168 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.23e-05/0.006993, allocations: 131.2 kB / 0.817 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006993, allocations: 0.875 kB / 0.817 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001566/0.00715, allocations: 15.95 kB / 0.817 GB, free: 12.14 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.0001623/0.007312, allocations: 112.5 kB / 0.8171 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.846e-05/0.00738, allocations: 19.61 kB / 0.8171 GB, free: 12 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.007382, allocations: 1 kB / 0.8171 GB, free: 12 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.848e-05/0.0074, allocations: 11.69 kB / 0.8171 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001899/0.00759, allocations: 12.47 kB / 0.8171 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002266/0.007817, allocations: 109.8 kB / 0.8172 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.435e-05/0.007851, allocations: 63.14 kB / 0.8173 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.928e-05/0.00787, allocations: 7.984 kB / 0.8173 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.386e-05/0.007914, allocations: 70.2 kB / 0.8174 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of SimCode: time 7.71e-07/0.007915, allocations: 0 / 0.8174 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of Templates: time 0.002665/0.01058, allocations: 0.8359 MB / 0.8182 GB, free: 10.86 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: 5.158775694668293]