Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.336/2.336, allocations: 390.3 MB / 405.3 MB, free: 13.45 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 177.2 kB / 498.1 MB, free: 5.734 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.563/1.563, allocations: 223.2 MB / 0.7948 GB, free: 17.85 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 96.33 kB / 0.9346 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004116/0.0004122, allocations: 17.25 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3143, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1985/0.5129, allocations: 149.1 MB / 1.369 GB, free: 12.89 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002321/0.5131, allocations: 79.94 kB / 1.369 GB, free: 12.82 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01185/0.525, allocations: 4.049 MB / 1.373 GB, free: 8.762 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.244e-06/0.5251, allocations: 0 / 1.373 GB, free: 8.762 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.165e-06/0.5251, allocations: 0 / 1.373 GB, free: 8.762 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000422/0.5255, allocations: 347.3 kB / 1.373 GB, free: 8.375 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.137e-05/0.5256, allocations: 12.03 kB / 1.373 GB, free: 8.363 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.5257, allocations: 0 / 1.373 GB, free: 8.363 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/0.5259, allocations: 167 kB / 1.373 GB, free: 8.16 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.5259, allocations: 0 / 1.373 GB, free: 8.16 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.527e-05/0.5259, allocations: 0 / 1.373 GB, free: 8.16 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.5261, allocations: 33.64 kB / 1.373 GB, free: 8.121 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.5261, allocations: 0 / 1.373 GB, free: 8.121 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.5261, allocations: 0 / 1.373 GB, free: 8.121 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.5262, allocations: 0 / 1.373 GB, free: 8.121 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.769e-05/0.5262, allocations: 4 kB / 1.373 GB, free: 8.117 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002222/0.5264, allocations: 157.6 kB / 1.373 GB, free: 7.914 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.785e-05/0.5265, allocations: 14.58 kB / 1.373 GB, free: 7.891 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006112/0.5271, allocations: 425.6 kB / 1.374 GB, free: 7.383 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.144e-05/0.5271, allocations: 38.5 kB / 1.374 GB, free: 7.336 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.5272, allocations: 0 / 1.374 GB, free: 7.336 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0002296/0.5274, allocations: 33.7 kB / 1.374 GB, free: 7.297 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.065e-05/0.5275, allocations: 51.41 kB / 1.374 GB, free: 7.234 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.876e-05/0.5275, allocations: 85 kB / 1.374 GB, free: 7.145 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.5276, allocations: 25.7 kB / 1.374 GB, free: 7.113 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.067e-05/0.5276, allocations: 80.14 kB / 1.374 GB, free: 7.031 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.07e-05/0.5277, allocations: 7.844 kB / 1.374 GB, free: 7.023 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-06/0.5277, allocations: 4.125 kB / 1.374 GB, free: 7.02 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002041/0.5279, allocations: 318.8 kB / 1.374 GB, free: 6.699 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.175e-05/0.5279, allocations: 4 kB / 1.374 GB, free: 6.695 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.587e-06/0.5279, allocations: 0 / 1.374 GB, free: 6.695 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.277e-05/0.528, allocations: 3.938 kB / 1.374 GB, free: 6.691 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.528, allocations: 3.953 kB / 1.374 GB, free: 6.688 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.542e-05/0.528, allocations: 33.7 kB / 1.374 GB, free: 6.648 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.761e-05/0.5281, allocations: 4 kB / 1.374 GB, free: 6.645 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/0.5281, allocations: 96 / 1.374 GB, free: 6.645 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.5281, allocations: 4 kB / 1.374 GB, free: 6.641 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.153e-05/0.5282, allocations: 4 kB / 1.374 GB, free: 6.637 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.5282, allocations: 3.984 kB / 1.374 GB, free: 6.633 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.09e-05/0.5282, allocations: 3.938 kB / 1.374 GB, free: 6.629 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.467e-06/0.5282, allocations: 0 / 1.374 GB, free: 6.629 MB / 0.8698 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001085/0.5284, allocations: 107 kB / 1.374 GB, free: 6.516 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.794e-05/0.5284, allocations: 7.953 kB / 1.374 GB, free: 6.508 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001165/0.5285, allocations: 52.69 kB / 1.375 GB, free: 6.449 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.5285, allocations: 0 / 1.375 GB, free: 6.449 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/0.5285, allocations: 3.984 kB / 1.375 GB, free: 6.445 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.5285, allocations: 0 / 1.375 GB, free: 6.445 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001227/0.5287, allocations: 145.7 kB / 1.375 GB, free: 6.254 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.5287, allocations: 0 / 1.375 GB, free: 6.254 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.299e-05/0.5287, allocations: 3.953 kB / 1.375 GB, free: 6.25 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.5287, allocations: 0 / 1.375 GB, free: 6.25 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.5287, allocations: 4 kB / 1.375 GB, free: 6.246 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.5287, allocations: 0 / 1.375 GB, free: 6.246 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.5287, allocations: 4 kB / 1.375 GB, free: 6.242 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.828e-05/0.5288, allocations: 65.09 kB / 1.375 GB, free: 6.16 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.118e-05/0.5289, allocations: 77.11 kB / 1.375 GB, free: 6.066 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/0.5289, allocations: 7.953 kB / 1.375 GB, free: 6.059 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.014e-06/0.5289, allocations: 0 / 1.375 GB, free: 6.059 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.296e-05/0.529, allocations: 0 / 1.375 GB, free: 6.059 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.529, allocations: 0 / 1.375 GB, free: 6.059 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.251e-05/0.529, allocations: 75.28 kB / 1.375 GB, free: 5.984 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.529, allocations: 4.031 kB / 1.375 GB, free: 5.98 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002133/0.5293, allocations: 11.98 kB / 1.375 GB, free: 5.969 MB / 0.8698 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003085/0.5296, allocations: 119 kB / 1.375 GB, free: 5.844 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 9.223e-05/0.5297, allocations: 8 kB / 1.375 GB, free: 5.836 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.5297, allocations: 0 / 1.375 GB, free: 5.836 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 7.735e-06/0.5297, allocations: 4 kB / 1.375 GB, free: 5.832 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001133/0.5298, allocations: 0 / 1.375 GB, free: 5.832 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002475/0.5301, allocations: 86.75 kB / 1.375 GB, free: 5.719 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004287/0.5305, allocations: 0.6731 MB / 1.376 GB, free: 5.02 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.399e-05/0.5305, allocations: 0 / 1.376 GB, free: 5.02 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.815e-05/0.5306, allocations: 11.42 kB / 1.376 GB, free: 5.008 MB / 0.8698 GB Notification: Performance of SimCode: time 2.3e-07/0.5306, allocations: 0 / 1.376 GB, free: 5.008 MB / 0.8698 GB Notification: Performance of Templates: time 0.002976/0.5336, allocations: 423.7 kB / 1.376 GB, free: 4.594 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.csv","../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches