Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.487/2.487, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001724/0.001724, allocations: 181 kB / 498.1 MB, free: 5.742 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.537/1.537, allocations: 223.2 MB / 0.7948 GB, free: 17.91 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.0009608/0.0009608, allocations: 98.77 kB / 0.9346 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003941/0.0003941, allocations: 17.39 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.3501, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2068/0.5569, allocations: 149.3 MB / 1.369 GB, free: 12.73 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002473/0.5572, allocations: 75.94 kB / 1.369 GB, free: 12.66 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01372/0.5709, allocations: 4.57 MB / 1.373 GB, free: 8.082 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.114e-06/0.571, allocations: 0 / 1.373 GB, free: 8.082 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.425e-05/0.571, allocations: 4 kB / 1.373 GB, free: 8.078 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004404/0.5715, allocations: 343.3 kB / 1.374 GB, free: 7.695 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/0.5716, allocations: 19.97 kB / 1.374 GB, free: 7.676 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.559e-05/0.5716, allocations: 3.938 kB / 1.374 GB, free: 7.672 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.5718, allocations: 170.9 kB / 1.374 GB, free: 7.465 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.5718, allocations: 4 kB / 1.374 GB, free: 7.461 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.288e-05/0.5719, allocations: 0 / 1.374 GB, free: 7.461 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/0.5721, allocations: 37.64 kB / 1.374 GB, free: 7.418 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.5721, allocations: 0 / 1.374 GB, free: 7.418 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.5721, allocations: 0 / 1.374 GB, free: 7.418 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.5721, allocations: 0 / 1.374 GB, free: 7.418 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.512e-05/0.5721, allocations: 4 kB / 1.374 GB, free: 7.414 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00024/0.5724, allocations: 161.7 kB / 1.374 GB, free: 7.207 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.303e-05/0.5725, allocations: 22.56 kB / 1.374 GB, free: 7.176 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000666/0.5731, allocations: 461.5 kB / 1.374 GB, free: 6.633 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.5732, allocations: 34.5 kB / 1.374 GB, free: 6.59 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.633e-06/0.5732, allocations: 0 / 1.374 GB, free: 6.59 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0006472/0.5738, allocations: 250.3 kB / 1.375 GB, free: 6.293 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.5739, allocations: 55.62 kB / 1.375 GB, free: 6.227 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.72e-05/0.574, allocations: 89 kB / 1.375 GB, free: 6.133 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.574, allocations: 29.7 kB / 1.375 GB, free: 6.098 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.707e-05/0.574, allocations: 80.14 kB / 1.375 GB, free: 6.016 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.615e-05/0.5741, allocations: 19.78 kB / 1.375 GB, free: 5.996 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-06/0.5741, allocations: 0 / 1.375 GB, free: 5.996 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.5742, allocations: 318.8 kB / 1.375 GB, free: 5.676 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.049e-05/0.5743, allocations: 4 kB / 1.375 GB, free: 5.672 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.193e-05/0.5743, allocations: 17.84 kB / 1.375 GB, free: 5.648 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.825e-05/0.5743, allocations: 11.98 kB / 1.375 GB, free: 5.637 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.5743, allocations: 0 / 1.375 GB, free: 5.637 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001081/0.5744, allocations: 49.64 kB / 1.375 GB, free: 5.582 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.5745, allocations: 4 kB / 1.375 GB, free: 5.578 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.5745, allocations: 4 kB / 1.375 GB, free: 5.574 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.5745, allocations: 4 kB / 1.375 GB, free: 5.57 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.702e-05/0.5746, allocations: 12.05 kB / 1.375 GB, free: 5.559 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.5746, allocations: 4 kB / 1.375 GB, free: 5.555 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.052e-05/0.5746, allocations: 0 / 1.375 GB, free: 5.555 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.5746, allocations: 3.938 kB / 1.375 GB, free: 5.551 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 9.085e-05/0.5747, allocations: 117.8 kB / 1.375 GB, free: 5.426 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.122e-05/0.5748, allocations: 0 / 1.375 GB, free: 5.426 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001438/0.5749, allocations: 53.12 kB / 1.375 GB, free: 5.363 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.5749, allocations: 11.92 kB / 1.375 GB, free: 5.352 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.5749, allocations: 0 / 1.375 GB, free: 5.352 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.575, allocations: 0 / 1.375 GB, free: 5.352 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001278/0.5751, allocations: 157.6 kB / 1.376 GB, free: 5.148 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.5751, allocations: 0 / 1.376 GB, free: 5.148 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.846e-05/0.5752, allocations: 8 kB / 1.376 GB, free: 5.141 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.5752, allocations: 192 / 1.376 GB, free: 5.141 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.5752, allocations: 0 / 1.376 GB, free: 5.141 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.5752, allocations: 0 / 1.376 GB, free: 5.141 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.5752, allocations: 0 / 1.376 GB, free: 5.141 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001733/0.5754, allocations: 88.95 kB / 1.376 GB, free: 5.035 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.465e-05/0.5754, allocations: 89.08 kB / 1.376 GB, free: 4.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.5754, allocations: 0 / 1.376 GB, free: 4.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.685e-05/0.5755, allocations: 0 / 1.376 GB, free: 4.93 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.2e-05/0.5755, allocations: 4 kB / 1.376 GB, free: 4.926 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.5755, allocations: 4 kB / 1.376 GB, free: 4.922 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.456e-05/0.5756, allocations: 75.28 kB / 1.376 GB, free: 4.848 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5756, allocations: 0 / 1.376 GB, free: 4.848 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002471/0.5758, allocations: 40.08 kB / 1.376 GB, free: 4.809 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.000314/0.5762, allocations: 143 kB / 1.376 GB, free: 4.66 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 9.318e-05/0.5763, allocations: 15.94 kB / 1.376 GB, free: 4.645 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.5763, allocations: 0 / 1.376 GB, free: 4.645 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.64e-05/0.5763, allocations: 7.984 kB / 1.376 GB, free: 4.637 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001255/0.5764, allocations: 11.94 kB / 1.376 GB, free: 4.625 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003054/0.5767, allocations: 113 kB / 1.376 GB, free: 4.48 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/0.577, allocations: 0.6809 MB / 1.377 GB, free: 3.773 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.275e-05/0.5771, allocations: 7.984 kB / 1.377 GB, free: 3.766 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.198e-05/0.5771, allocations: 11.44 kB / 1.377 GB, free: 3.754 MB / 0.8698 GB Notification: Performance of SimCode: time 4.51e-07/0.5771, allocations: 0 / 1.377 GB, free: 3.754 MB / 0.8698 GB Notification: Performance of Templates: time 0.003192/0.5803, allocations: 0.7882 MB / 1.378 GB, free: 2.965 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.csv","../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches