Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009868/0.0009868, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001052/0.001052, allocations: 177.4 kB / 23.36 MB, free: 1.129 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 1.023/1.023, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.453/2.453, allocations: 438.8 MB / 0.6826 GB, free: 13.56 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.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 0.8386 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.247e-05/1.389e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.001918/0.001931, allocations: 1.542 MB / 0.8401 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0005276/0.002459, allocations: 374.5 kB / 0.8405 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.902e-05/0.002488, allocations: 0 / 0.8405 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.507e-05/0.002513, allocations: 3.938 kB / 0.8405 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.363e-05/0.002557, allocations: 0 / 0.8405 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002794/0.002836, allocations: 95.62 kB / 0.8406 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 5.713e-05/0.002893, allocations: 31.86 kB / 0.8406 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 6.905e-05/0.002962, allocations: 3.984 kB / 0.8406 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 5.678e-05/0.003019, allocations: 15.98 kB / 0.8406 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.302e-05/0.003052, allocations: 7.984 kB / 0.8406 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.003065, allocations: 4 kB / 0.8406 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003191/0.003385, allocations: 275.6 kB / 0.8409 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.714e-05/0.003402, allocations: 15.92 kB / 0.8409 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.526e-05/0.003417, allocations: 8 kB / 0.8409 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001663/0.003583, allocations: 123.6 kB / 0.841 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.003585, allocations: 0 / 0.841 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.01e-07/0.003586, allocations: 0 / 0.841 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.476e-06/0.003589, allocations: 0 / 0.841 GB, free: 11.62 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.0002869/0.003876, allocations: 268.6 kB / 0.8413 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.003909, allocations: 12.56 kB / 0.8413 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.054e-05/0.00397, allocations: 4.938 kB / 0.8413 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.367e-05/0.004043, allocations: 113.8 kB / 0.8414 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.356e-06/0.004052, allocations: 384 / 0.8414 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.081e-06/0.004058, allocations: 8.375 kB / 0.8414 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.558e-05/0.004143, allocations: 54.94 kB / 0.8415 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.004151, allocations: 4.125 kB / 0.8415 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.539e-06/0.004156, allocations: 384 / 0.8415 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.004161, allocations: 384 / 0.8415 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.83e-05/0.004179, allocations: 7.938 kB / 0.8415 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000175/0.004354, allocations: 148.3 kB / 0.8416 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.32e-05/0.004387, allocations: 26.61 kB / 0.8417 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.165e-05/0.004399, allocations: 4.859 kB / 0.8417 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002395/0.004639, allocations: 72 kB / 0.8417 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.004658, allocations: 34.5 kB / 0.8418 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.004659, allocations: 0 / 0.8418 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001055/0.004764, allocations: 41.69 kB / 0.8418 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.302e-05/0.004787, allocations: 63.47 kB / 0.8419 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.177e-05/0.004839, allocations: 102.7 kB / 0.842 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.757e-06/0.004848, allocations: 29.7 kB / 0.842 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.544e-05/0.004873, allocations: 88.08 kB / 0.8421 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.498e-05/0.004888, allocations: 7.891 kB / 0.8421 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002796/0.005168, allocations: 13.72 kB / 0.8421 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.662e-05/0.005235, allocations: 318.8 kB / 0.8424 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.326e-06/0.005243, allocations: 4 kB / 0.8424 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.514e-06/0.00525, allocations: 3.938 kB / 0.8424 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.005e-05/0.00527, allocations: 12.91 kB / 0.8424 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.005272, allocations: 4 kB / 0.8424 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.931e-05/0.005321, allocations: 33.7 kB / 0.8425 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.005334, allocations: 11.98 kB / 0.8425 GB, free: 9.996 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.005337, allocations: 0 / 0.8425 GB, free: 9.996 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.005348, allocations: 0 / 0.8425 GB, free: 9.996 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.031e-05/0.005389, allocations: 7.938 kB / 0.8425 GB, free: 9.988 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-06/0.005392, allocations: 3.984 kB / 0.8425 GB, free: 9.984 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.45e-05/0.005406, allocations: 7.938 kB / 0.8425 GB, free: 9.977 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.066e-06/0.005409, allocations: 0 / 0.8425 GB, free: 9.977 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.659e-05/0.005456, allocations: 117.8 kB / 0.8426 GB, free: 9.852 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.253e-05/0.005479, allocations: 4 kB / 0.8426 GB, free: 9.848 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.39e-05/0.005532, allocations: 45.31 kB / 0.8427 GB, free: 9.801 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.005534, allocations: 0 / 0.8427 GB, free: 9.801 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.005536, allocations: 3.938 kB / 0.8427 GB, free: 9.797 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.005539, allocations: 0 / 0.8427 GB, free: 9.797 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.208e-05/0.005611, allocations: 65.89 kB / 0.8427 GB, free: 9.715 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.005613, allocations: 3.984 kB / 0.8427 GB, free: 9.711 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.679e-05/0.00563, allocations: 8 kB / 0.8427 GB, free: 9.703 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.005631, allocations: 256 / 0.8427 GB, free: 9.703 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.426e-06/0.005634, allocations: 4.031 kB / 0.8427 GB, free: 9.699 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.005636, allocations: 4 kB / 0.8427 GB, free: 9.695 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.005637, allocations: 0 / 0.8427 GB, free: 9.695 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.247e-05/0.005709, allocations: 139.4 kB / 0.8429 GB, free: 9.543 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.2e-06/0.005715, allocations: 4 kB / 0.8429 GB, free: 9.539 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.614e-06/0.005722, allocations: 0 / 0.8429 GB, free: 9.539 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.185e-05/0.005754, allocations: 11.98 kB / 0.8429 GB, free: 9.527 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.36e-05/0.005778, allocations: 0 / 0.8429 GB, free: 9.527 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-06/0.005779, allocations: 0 / 0.8429 GB, free: 9.527 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.156e-05/0.005791, allocations: 12.8 kB / 0.8429 GB, free: 9.512 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.1e-08/0.005791, allocations: 4.031 kB / 0.8429 GB, free: 9.508 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000127/0.005918, allocations: 15.98 kB / 0.8429 GB, free: 9.492 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 0.0001109/0.006029, allocations: 88.36 kB / 0.843 GB, free: 9.398 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.389e-05/0.006083, allocations: 16.84 kB / 0.843 GB, free: 9.379 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.006085, allocations: 3.938 kB / 0.843 GB, free: 9.375 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.482e-05/0.0061, allocations: 16.84 kB / 0.843 GB, free: 9.355 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001236/0.006223, allocations: 5.719 kB / 0.843 GB, free: 9.352 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001862/0.006409, allocations: 108.9 kB / 0.8431 GB, free: 9.219 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.868e-05/0.006438, allocations: 51.36 kB / 0.8432 GB, free: 9.148 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.617e-05/0.006454, allocations: 7.984 kB / 0.8432 GB, free: 9.141 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.367e-05/0.006488, allocations: 47.38 kB / 0.8433 GB, free: 9.094 MB / 0.8073 GB Notification: Performance of SimCode: time 3.5e-07/0.006488, allocations: 0 / 0.8433 GB, free: 9.094 MB / 0.8073 GB Notification: Performance of Templates: time 0.001997/0.008485, allocations: 0.7984 MB / 0.844 GB, free: 8.309 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.456257065758109]