Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001648/0.001648, allocations: 114.2 kB / 18.94 MB, free: 2.93 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001961/0.001961, allocations: 189 kB / 22.22 MB, free: 5.105 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.524/1.524, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.873/2.873, allocations: 476.7 MB / 0.7646 GB, free: 9.887 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check")
translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 67.89 kB / 1.11 GB, free: 6.281 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.7612/0.7633, allocations: 168.8 MB / 1.274 GB, free: 4.18 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001752/0.765, allocations: 0.6249 MB / 1.275 GB, free: 3.559 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.0007239/0.7657, allocations: 358.7 kB / 1.275 GB, free: 3.207 MB / 0.9669 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.762e-05/0.7658, allocations: 0 / 1.275 GB, free: 3.207 MB / 0.9669 GB
Notification: Performance of NFTyping.typeComponents: time 1.181e-05/0.7658, allocations: 0 / 1.275 GB, free: 3.207 MB / 0.9669 GB
Notification: Performance of NFTyping.typeBindings: time 3.374e-05/0.7658, allocations: 3.938 kB / 1.275 GB, free: 3.203 MB / 0.9669 GB
Notification: Performance of NFTyping.typeClassSections: time 0.000447/0.7662, allocations: 120.5 kB / 1.275 GB, free: 3.086 MB / 0.9669 GB
Notification: Performance of NFFlatten.flatten: time 7.049e-05/0.7663, allocations: 23.97 kB / 1.275 GB, free: 3.062 MB / 0.9669 GB
Notification: Performance of NFFlatten.resolveConnections: time 3.488e-05/0.7664, allocations: 4 kB / 1.275 GB, free: 3.059 MB / 0.9669 GB
Notification: Performance of NFEvalConstants.evaluate: time 3.967e-05/0.7664, allocations: 15.88 kB / 1.275 GB, free: 3.043 MB / 0.9669 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.003e-05/0.7664, allocations: 11.92 kB / 1.276 GB, free: 3.031 MB / 0.9669 GB
Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.7665, allocations: 4 kB / 1.276 GB, free: 3.027 MB / 0.9669 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.00041/0.7669, allocations: 283.6 kB / 1.276 GB, free: 2.75 MB / 0.9669 GB
Notification: Performance of NFScalarize.scalarize: time 1.534e-05/0.7669, allocations: 3.984 kB / 1.276 GB, free: 2.746 MB / 0.9669 GB
Notification: Performance of NFVerifyModel.verify: time 2.619e-05/0.7669, allocations: 11.94 kB / 1.276 GB, free: 2.734 MB / 0.9669 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001907/0.7671, allocations: 102.1 kB / 1.276 GB, free: 2.641 MB / 0.9669 GB
Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.7671, allocations: 0 / 1.276 GB, free: 2.641 MB / 0.9669 GB
Notification: Performance of FrontEnd: time 1.222e-06/0.7671, allocations: 0 / 1.276 GB, free: 2.641 MB / 0.9669 GB
Notification: Performance of Transformations before backend: time 4.569e-06/0.7671, allocations: 4 kB / 1.276 GB, free: 2.637 MB / 0.9669 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.0004498/0.7676, allocations: 290 kB / 1.276 GB, free: 2.32 MB / 0.9669 GB
Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.7676, allocations: 8.031 kB / 1.276 GB, free: 2.312 MB / 0.9669 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.103e-05/0.7677, allocations: 8.891 kB / 1.276 GB, free: 2.305 MB / 0.9669 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.7678, allocations: 110.5 kB / 1.276 GB, free: 2.172 MB / 0.9669 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.7678, allocations: 4.375 kB / 1.276 GB, free: 2.168 MB / 0.9669 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.166e-05/0.7678, allocations: 4.375 kB / 1.276 GB, free: 2.164 MB / 0.9669 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.7679, allocations: 50.19 kB / 1.276 GB, free: 2.109 MB / 0.9669 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.7679, allocations: 192 / 1.276 GB, free: 2.109 MB / 0.9669 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.7679, allocations: 11.94 kB / 1.276 GB, free: 2.098 MB / 0.9669 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.7679, allocations: 0 / 1.276 GB, free: 2.098 MB / 0.9669 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 6.082e-05/0.768, allocations: 23.92 kB / 1.276 GB, free: 2.074 MB / 0.9669 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001787/0.7682, allocations: 140.6 kB / 1.277 GB, free: 1.895 MB / 0.9669 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.7683, allocations: 54.55 kB / 1.277 GB, free: 1.832 MB / 0.9669 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.626e-05/0.7684, allocations: 24.86 kB / 1.277 GB, free: 1.805 MB / 0.9669 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0005614/0.7689, allocations: 83.89 kB / 1.277 GB, free: 1.723 MB / 0.9669 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.7689, allocations: 34.8 kB / 1.277 GB, free: 1.68 MB / 0.9669 GB
Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.769, allocations: 0 / 1.277 GB, free: 1.68 MB / 0.9669 GB
Notification: Performance of matching and sorting (n=11): time 0.001278/0.7702, allocations: 459.2 kB / 1.277 GB, free: 1.176 MB / 0.9669 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.7703, allocations: 51.41 kB / 1.277 GB, free: 1.113 MB / 0.9669 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.543e-05/0.7704, allocations: 97.84 kB / 1.277 GB, free: 1.008 MB / 0.9669 GB
Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.7704, allocations: 29.7 kB / 1.277 GB, free: 0.9727 MB / 0.9669 GB
Notification: Performance of collectInitialEqns (initialization): time 4.54e-05/0.7704, allocations: 88.14 kB / 1.277 GB, free: 0.8828 MB / 0.9669 GB
Notification: Performance of collectInitialBindings (initialization): time 4.723e-05/0.7705, allocations: 43.58 kB / 1.277 GB, free: 0.8398 MB / 0.9669 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.045e-05/0.7705, allocations: 29.7 kB / 1.277 GB, free: 0.8047 MB / 0.9669 GB
Notification: Performance of setup shared object (initialization): time 0.0001443/0.7707, allocations: 314.8 kB / 1.278 GB, free: 500 kB / 0.9669 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 4.78e-05/0.7707, allocations: 23.98 kB / 1.278 GB, free: 476 kB / 0.9669 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 4.291e-05/0.7708, allocations: 27.11 kB / 1.278 GB, free: 452 kB / 0.9669 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001049/0.7709, allocations: 52.86 kB / 1.278 GB, free: 396 kB / 0.9669 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.7709, allocations: 0 / 1.278 GB, free: 396 kB / 0.9669 GB
Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001939/0.7711, allocations: 105.5 kB / 1.278 GB, free: 284 kB / 0.9669 GB
Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.7711, allocations: 8 kB / 1.278 GB, free: 276 kB / 0.9669 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.7711, allocations: 4 kB / 1.278 GB, free: 272 kB / 0.9669 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.7711, allocations: 0 / 1.278 GB, free: 272 kB / 0.9669 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.7712, allocations: 23.98 kB / 1.278 GB, free: 248 kB / 0.9669 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.7712, allocations: 0 / 1.278 GB, free: 248 kB / 0.9669 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.521e-05/0.7712, allocations: 4 kB / 1.278 GB, free: 244 kB / 0.9669 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.7712, allocations: 4 kB / 1.278 GB, free: 240 kB / 0.9669 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 9.357e-05/0.7713, allocations: 117.8 kB / 1.278 GB, free: 112 kB / 0.9669 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.083e-05/0.7714, allocations: 7.938 kB / 1.278 GB, free: 104 kB / 0.9669 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002163/0.7716, allocations: 106.1 kB / 1.278 GB, free: 15.99 MB / 0.9825 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.7716, allocations: 7.938 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.7716, allocations: 0 / 1.278 GB, free: 15.98 MB / 0.9825 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.7716, allocations: 0 / 1.278 GB, free: 15.98 MB / 0.9825 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004348/0.772, allocations: 329.5 kB / 1.279 GB, free: 15.61 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.772, allocations: 0 / 1.279 GB, free: 15.61 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.7721, allocations: 16 kB / 1.279 GB, free: 15.6 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.7721, allocations: 0 / 1.279 GB, free: 15.6 MB / 0.9825 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.7722, allocations: 7.984 kB / 1.279 GB, free: 15.59 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.7722, allocations: 7.984 kB / 1.279 GB, free: 15.58 MB / 0.9825 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.7722, allocations: 0 / 1.279 GB, free: 15.58 MB / 0.9825 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002805/0.7724, allocations: 219.4 kB / 1.279 GB, free: 15.35 MB / 0.9825 GB
Notification: Performance of postOpt removeConstants (simulation): time 3.04e-05/0.7725, allocations: 15.97 kB / 1.279 GB, free: 15.34 MB / 0.9825 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.7725, allocations: 4 kB / 1.279 GB, free: 15.33 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.471e-05/0.7726, allocations: 4 kB / 1.279 GB, free: 15.33 MB / 0.9825 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.115e-05/0.7726, allocations: 7.984 kB / 1.279 GB, free: 15.32 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.807e-06/0.7726, allocations: 4 kB / 1.279 GB, free: 15.32 MB / 0.9825 GB
Notification: Performance of sorting global known variables: time 4.862e-05/0.7726, allocations: 87.27 kB / 1.279 GB, free: 15.23 MB / 0.9825 GB
Notification: Performance of sort global known variables: time 7e-08/0.7726, allocations: 0 / 1.279 GB, free: 15.23 MB / 0.9825 GB
Notification: Performance of remove unused functions: time 0.0002895/0.7729, allocations: 43.94 kB / 1.279 GB, free: 15.19 MB / 0.9825 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.0002453/0.7732, allocations: 139.4 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB
Notification: Performance of simCode: created initialization part: time 0.0001689/0.7734, allocations: 63.84 kB / 1.279 GB, free: 14.98 MB / 0.9825 GB
Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7734, allocations: 0 / 1.279 GB, free: 14.98 MB / 0.9825 GB
Notification: Performance of simCode: created simulation system equations: time 4.979e-05/0.7734, allocations: 27.98 kB / 1.279 GB, free: 14.95 MB / 0.9825 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002281/0.7736, allocations: 21.25 kB / 1.279 GB, free: 14.94 MB / 0.9825 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003546/0.774, allocations: 174.1 kB / 1.279 GB, free: 14.74 MB / 0.9825 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002946/0.7743, allocations: 0.6846 MB / 1.28 GB, free: 14.03 MB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 4.711e-05/0.7743, allocations: 11.94 kB / 1.28 GB, free: 14.02 MB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.685e-05/0.7744, allocations: 11.44 kB / 1.28 GB, free: 14 MB / 0.9825 GB
Notification: Performance of SimCode: time 3.11e-07/0.7744, allocations: 4 kB / 1.28 GB, free: 14 MB / 0.9825 GB
Notification: Performance of Templates: time 0.004494/0.7789, allocations: 1.466 MB / 1.281 GB, free: 12.54 MB / 0.9825 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300]
""
[Timeout remaining time 300]
Reference file matches
[Calling sys.exit(0), Time elapsed: 8.727122169919312]