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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008483/0.008483, allocations: 102.5 kB / 15.73 MB, free: 5.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001693/0.001693, allocations: 195.7 kB / 16.67 MB, free: 5.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 4.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.364/2.364, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 60.34 kB / 0.9509 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3644/0.3657, allocations: 140.4 MB / 1.088 GB, free: 1.453 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001747/0.3675, allocations: 0.6179 MB / 1.089 GB, free: 0.8398 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0006829/0.3682, allocations: 347.1 kB / 1.089 GB, free: 0.5 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.61e-05/0.3682, allocations: 0 / 1.089 GB, free: 0.5 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.352e-05/0.3682, allocations: 0 / 1.089 GB, free: 0.5 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.518e-05/0.3683, allocations: 4 kB / 1.089 GB, free: 0.4961 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004453/0.3687, allocations: 121.9 kB / 1.089 GB, free: 388 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.052e-05/0.3688, allocations: 19.97 kB / 1.089 GB, free: 368 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.144e-05/0.3688, allocations: 7.938 kB / 1.089 GB, free: 360 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.622e-05/0.3689, allocations: 7.984 kB / 1.089 GB, free: 352 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.594e-05/0.3689, allocations: 15.92 kB / 1.089 GB, free: 336 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.537e-05/0.369, allocations: 4 kB / 1.089 GB, free: 332 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000361/0.3693, allocations: 271.7 kB / 1.089 GB, free: 60 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.017e-05/0.3694, allocations: 15.97 kB / 1.089 GB, free: 44 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.333e-05/0.3694, allocations: 7.938 kB / 1.089 GB, free: 36 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002128/0.3696, allocations: 111.6 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.3696, allocations: 3.938 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.425e-06/0.3696, allocations: 0 / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.3696, allocations: 0 / 1.089 GB, free: 15.92 MB / 0.8575 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.0004504/0.3701, allocations: 367.1 kB / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.3701, allocations: 8.031 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.314e-05/0.3702, allocations: 4.938 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.3703, allocations: 168.3 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.3703, allocations: 4.375 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.57e-05/0.3704, allocations: 8.359 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.3705, allocations: 54.23 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.3705, allocations: 4.141 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.3705, allocations: 3.938 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.3706, allocations: 0 / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.036e-05/0.3706, allocations: 23.92 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001759/0.3708, allocations: 161.7 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.3709, allocations: 70.53 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.876e-05/0.371, allocations: 24.86 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006819/0.3717, allocations: 465.5 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.3717, allocations: 30.56 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.3717, allocations: 0 / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.001266/0.373, allocations: 0.5957 MB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.373, allocations: 59.34 kB / 1.091 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.009e-05/0.3731, allocations: 97.84 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.3731, allocations: 29.7 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.336e-05/0.3732, allocations: 84.14 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.576e-05/0.3732, allocations: 39.67 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.085e-05/0.3733, allocations: 25.72 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.3734, allocations: 314.8 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.874e-05/0.3734, allocations: 24 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.727e-05/0.3735, allocations: 19.98 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.734e-05/0.3736, allocations: 56.86 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.3736, allocations: 0 / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001503/0.3737, allocations: 108.6 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.3737, allocations: 4 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.3738, allocations: 3.938 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.3738, allocations: 4 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.3739, allocations: 19.98 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.3739, allocations: 3.938 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.324e-05/0.3739, allocations: 8 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.3739, allocations: 4 kB / 1.092 GB, free: 12.67 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.301e-05/0.374, allocations: 115.8 kB / 1.092 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.753e-05/0.3741, allocations: 7.938 kB / 1.092 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001818/0.3742, allocations: 105.5 kB / 1.092 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.3743, allocations: 4.094 kB / 1.092 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3743, allocations: 3.938 kB / 1.092 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.3743, allocations: 0 / 1.092 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000387/0.3747, allocations: 358.4 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.3747, allocations: 4 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/0.3748, allocations: 19.98 kB / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3748, allocations: 0 / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.719e-06/0.3748, allocations: 4 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.3748, allocations: 4 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3748, allocations: 0 / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002429/0.3751, allocations: 219.6 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.469e-05/0.3751, allocations: 93.19 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.3752, allocations: 0 / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.706e-05/0.3752, allocations: 7.938 kB / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.192e-05/0.3753, allocations: 11.98 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.794e-06/0.3753, allocations: 4 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.208e-05/0.3753, allocations: 79.45 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3753, allocations: 0 / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002773/0.3756, allocations: 47.86 kB / 1.093 GB, free: 11.49 MB / 0.8575 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 (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.000249/0.3759, allocations: 147.2 kB / 1.093 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001516/0.376, allocations: 63.84 kB / 1.093 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.376, allocations: 0 / 1.093 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.535e-05/0.3761, allocations: 35.98 kB / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002372/0.3763, allocations: 0 / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003523/0.3767, allocations: 181.7 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002495/0.3769, allocations: 0.6923 MB / 1.094 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.917e-05/0.377, allocations: 12 kB / 1.094 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.243e-05/0.377, allocations: 11.44 kB / 1.094 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/0.377, allocations: 3.938 kB / 1.094 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of Templates: time 0.003931/0.381, allocations: 1.411 MB / 1.096 GB, free: 8.891 MB / 0.8575 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches