Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.233/2.233, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.001504/0.001505, allocations: 179.4 kB / 498.1 MB, free: 5.73 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.736/1.736, allocations: 223.2 MB / 0.7949 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.001084/0.001085, allocations: 96.31 kB / 0.9346 GB, free: 6.145 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003819/0.0003818, allocations: 10.38 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3499, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2081/0.5581, allocations: 149.4 MB / 1.369 GB, free: 12.59 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002996/0.5585, allocations: 83.88 kB / 1.369 GB, free: 12.51 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01474/0.5732, allocations: 5.109 MB / 1.374 GB, free: 7.391 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.445e-06/0.5733, allocations: 4 kB / 1.374 GB, free: 7.387 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.167e-06/0.5733, allocations: 4 kB / 1.374 GB, free: 7.383 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004159/0.5737, allocations: 363.1 kB / 1.374 GB, free: 6.98 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.5738, allocations: 8.031 kB / 1.374 GB, free: 6.973 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.797e-05/0.5739, allocations: 4 kB / 1.374 GB, free: 6.969 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.574, allocations: 167 kB / 1.374 GB, free: 6.766 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.574, allocations: 15.88 kB / 1.374 GB, free: 6.75 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.201e-05/0.5741, allocations: 3.984 kB / 1.374 GB, free: 6.746 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.5742, allocations: 49.69 kB / 1.374 GB, free: 6.691 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.5742, allocations: 3.938 kB / 1.374 GB, free: 6.688 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.5742, allocations: 4 kB / 1.374 GB, free: 6.684 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.5742, allocations: 4 kB / 1.374 GB, free: 6.68 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.098e-05/0.5743, allocations: 15.98 kB / 1.374 GB, free: 6.664 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002054/0.5745, allocations: 169.5 kB / 1.375 GB, free: 6.449 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/0.5746, allocations: 58.56 kB / 1.375 GB, free: 6.383 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006469/0.5753, allocations: 461.5 kB / 1.375 GB, free: 5.84 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.5753, allocations: 34.56 kB / 1.375 GB, free: 5.797 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 2.815e-06/0.5753, allocations: 4 kB / 1.375 GB, free: 5.793 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11): time 0.001288/0.5766, allocations: 0.5956 MB / 1.376 GB, free: 5.105 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.5767, allocations: 55.41 kB / 1.376 GB, free: 5.039 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.555e-05/0.5767, allocations: 92.98 kB / 1.376 GB, free: 4.941 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.5768, allocations: 29.7 kB / 1.376 GB, free: 4.906 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.42e-05/0.5768, allocations: 84.14 kB / 1.376 GB, free: 4.82 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.045e-05/0.5769, allocations: 35.45 kB / 1.376 GB, free: 4.785 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-06/0.5769, allocations: 4 kB / 1.376 GB, free: 4.781 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.577, allocations: 318.8 kB / 1.376 GB, free: 4.461 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.092e-05/0.577, allocations: 23.98 kB / 1.376 GB, free: 4.438 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.12e-05/0.5771, allocations: 23.98 kB / 1.376 GB, free: 4.414 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.474e-05/0.5771, allocations: 20 kB / 1.376 GB, free: 4.395 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.5772, allocations: 0 / 1.376 GB, free: 4.395 MB / 0.8698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001769/0.5773, allocations: 101.5 kB / 1.377 GB, free: 4.289 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.5774, allocations: 8 kB / 1.377 GB, free: 4.281 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.5774, allocations: 0 / 1.377 GB, free: 4.281 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.5774, allocations: 0 / 1.377 GB, free: 4.281 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.5775, allocations: 23.98 kB / 1.377 GB, free: 4.258 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.5775, allocations: 0 / 1.377 GB, free: 4.258 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.357e-05/0.5775, allocations: 4 kB / 1.377 GB, free: 4.254 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.5776, allocations: 4 kB / 1.377 GB, free: 4.25 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 (13): * Single equations (assignments): 13 * 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.333e-05/0.5777, allocations: 113.8 kB / 1.377 GB, free: 4.129 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.338e-05/0.5777, allocations: 8 kB / 1.377 GB, free: 4.121 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001969/0.5779, allocations: 109.4 kB / 1.377 GB, free: 4.004 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.5779, allocations: 4 kB / 1.377 GB, free: 4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.5779, allocations: 0 / 1.377 GB, free: 4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.5779, allocations: 0 / 1.377 GB, free: 4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004099/0.5783, allocations: 358.7 kB / 1.377 GB, free: 3.594 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.5783, allocations: 3.938 kB / 1.377 GB, free: 3.59 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.5785, allocations: 19.98 kB / 1.377 GB, free: 3.57 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.5785, allocations: 3.984 kB / 1.377 GB, free: 3.566 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.5785, allocations: 8 kB / 1.377 GB, free: 3.559 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.5785, allocations: 96 / 1.377 GB, free: 3.559 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.5785, allocations: 3.938 kB / 1.377 GB, free: 3.555 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002487/0.5788, allocations: 215.4 kB / 1.377 GB, free: 3.328 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.528e-05/0.5788, allocations: 89.08 kB / 1.377 GB, free: 3.223 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.5789, allocations: 3.984 kB / 1.377 GB, free: 3.219 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.859e-05/0.5789, allocations: 8 kB / 1.377 GB, free: 3.211 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.253e-05/0.579, allocations: 8.062 kB / 1.377 GB, free: 3.203 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.579, allocations: 7.984 kB / 1.377 GB, free: 3.195 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.062e-05/0.579, allocations: 79.22 kB / 1.378 GB, free: 3.117 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.579, allocations: 0 / 1.378 GB, free: 3.117 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002971/0.5793, allocations: 59.88 kB / 1.378 GB, free: 3.059 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0002906/0.5796, allocations: 166 kB / 1.378 GB, free: 2.887 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001376/0.5798, allocations: 55.92 kB / 1.378 GB, free: 2.832 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.5798, allocations: 0 / 1.378 GB, free: 2.832 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 4.827e-05/0.5798, allocations: 39.98 kB / 1.378 GB, free: 2.793 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001375/0.58, allocations: 3.953 kB / 1.378 GB, free: 2.789 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003672/0.5803, allocations: 198.9 kB / 1.378 GB, free: 2.566 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002604/0.5806, allocations: 0.6887 MB / 1.379 GB, free: 1.852 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 5.008e-05/0.5807, allocations: 8 kB / 1.379 GB, free: 1.844 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.237e-05/0.5807, allocations: 23.42 kB / 1.379 GB, free: 1.82 MB / 0.8698 GB Notification: Performance of SimCode: time 2.31e-07/0.5807, allocations: 0 / 1.379 GB, free: 1.82 MB / 0.8698 GB Notification: Performance of Templates: time 0.003618/0.5843, allocations: 1.294 MB / 1.38 GB, free: 0.5352 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.csv","../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches