Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.489/1.489, allocations: 249.5 MB / 257 MB, free: 6.891 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001093/0.001093, allocations: 188.3 kB / 316.3 MB, free: 3.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.716/1.716, allocations: 205.3 MB / 0.5671 GB, free: 15.9 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00105/0.00105, allocations: 90.52 kB / 0.6714 GB, free: 5.004 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.933e-05/1.936e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2105, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7266/0.9372, allocations: 131.8 MB / 1.014 GB, free: 5.988 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002077/0.9374, allocations: 79.56 kB / 1.014 GB, free: 5.941 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0113/0.9488, allocations: 3.986 MB / 1.018 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.024e-06/0.9488, allocations: 0 / 1.018 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.9488, allocations: 0 / 1.018 GB, free: 2.621 MB / 0.6355 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.0003155/0.9491, allocations: 342 kB / 1.018 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.9492, allocations: 8.031 kB / 1.018 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.622e-05/0.9493, allocations: 4 kB / 1.018 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.9494, allocations: 167 kB / 1.018 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.9494, allocations: 8 kB / 1.018 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.979e-06/0.9494, allocations: 0 / 1.018 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.426e-05/0.9495, allocations: 0 / 1.018 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.014e-05/0.9495, allocations: 29.7 kB / 1.018 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.9496, allocations: 3.938 kB / 1.018 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.9496, allocations: 3.938 kB / 1.018 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.9496, allocations: 0 / 1.018 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001314/0.9497, allocations: 129 kB / 1.019 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.142e-05/0.9498, allocations: 30.53 kB / 1.019 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.435e-05/0.9498, allocations: 4.859 kB / 1.019 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004772/0.9503, allocations: 424.7 kB / 1.019 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.9503, allocations: 30.56 kB / 1.019 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 2.835e-06/0.9503, allocations: 4 kB / 1.019 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001494/0.9505, allocations: 29.7 kB / 1.019 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.9505, allocations: 51.41 kB / 1.019 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.052e-05/0.9506, allocations: 88.5 kB / 1.019 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.9506, allocations: 25.7 kB / 1.019 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.284e-05/0.9506, allocations: 80.14 kB / 1.019 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.461e-05/0.9507, allocations: 4 kB / 1.019 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.524e-06/0.9507, allocations: 0 / 1.019 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.9508, allocations: 310.8 kB / 1.02 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.422e-06/0.9508, allocations: 7.969 kB / 1.02 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.138e-06/0.9508, allocations: 0 / 1.02 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.187e-05/0.9509, allocations: 7.984 kB / 1.02 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.9509, allocations: 0 / 1.02 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.99e-05/0.9509, allocations: 37.64 kB / 1.02 GB, free: 0.5508 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.951, allocations: 4 kB / 1.02 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.951, allocations: 0 / 1.02 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.951, allocations: 4 kB / 1.02 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.105e-05/0.951, allocations: 0 / 1.02 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.951, allocations: 4.094 kB / 1.02 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.277e-06/0.9511, allocations: 0 / 1.02 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.259e-06/0.9511, allocations: 0 / 1.02 GB, free: 0.5391 MB / 0.6355 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 () * 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 6.172e-05/0.9511, allocations: 107 kB / 1.02 GB, free: 440 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.137e-05/0.9512, allocations: 7.203 kB / 1.02 GB, free: 436 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.034e-05/0.9513, allocations: 45.33 kB / 1.02 GB, free: 380 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-06/0.9513, allocations: 0 / 1.02 GB, free: 380 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.9513, allocations: 0 / 1.02 GB, free: 380 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.9513, allocations: 4.031 kB / 1.02 GB, free: 376 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.223e-05/0.9514, allocations: 134.2 kB / 1.02 GB, free: 204 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.9514, allocations: 0 / 1.02 GB, free: 204 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.02e-05/0.9514, allocations: 0 / 1.02 GB, free: 204 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.9514, allocations: 0 / 1.02 GB, free: 204 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.9514, allocations: 4 kB / 1.02 GB, free: 200 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.9514, allocations: 3.953 kB / 1.02 GB, free: 196 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.9514, allocations: 0 / 1.02 GB, free: 196 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.676e-05/0.9515, allocations: 59.7 kB / 1.02 GB, free: 120 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.151e-05/0.9515, allocations: 81.09 kB / 1.02 GB, free: 20 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.083e-05/0.9516, allocations: 4 kB / 1.02 GB, free: 16 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.372e-06/0.9516, allocations: 3.938 kB / 1.02 GB, free: 12 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.016e-05/0.9516, allocations: 3.953 kB / 1.02 GB, free: 8 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.9516, allocations: 4 kB / 1.02 GB, free: 4 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.209e-05/0.9516, allocations: 75.28 kB / 1.02 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9516, allocations: 0 / 1.02 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001868/0.9518, allocations: 19.94 kB / 1.02 GB, free: 15.91 MB / 0.6511 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 () * 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.0001982/0.952, allocations: 119.2 kB / 1.02 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 5.647e-05/0.9521, allocations: 6.625 kB / 1.02 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.9521, allocations: 0 / 1.02 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.68e-06/0.9521, allocations: 4 kB / 1.02 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.951e-05/0.9522, allocations: 0 / 1.02 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001476/0.9524, allocations: 45.39 kB / 1.02 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002198/0.9526, allocations: 0.6729 MB / 1.021 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 1.73e-05/0.9526, allocations: 8.125 kB / 1.021 GB, free: 15 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.03e-05/0.9526, allocations: 7.438 kB / 1.021 GB, free: 15 MB / 0.6511 GB Notification: Performance of SimCode: time 2.6e-07/0.9526, allocations: 3.938 kB / 1.021 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of Templates: time 0.002092/0.9547, allocations: 420 kB / 1.021 GB, free: 14.59 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches