Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.001491/0.001491, allocations: 110 kB / 18.93 MB, free: 2.945 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.001629/0.001629, allocations: 182.7 kB / 22.22 MB, free: 5.164 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.333/1.333, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.997/2.997, allocations: 495.7 MB / 0.7831 GB, free: 33.46 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck")
translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 66.73 kB / 1.137 GB, free: 33.72 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3541, allocations: 173.6 MB / 1.307 GB, free: 1.832 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.002045/0.3561, allocations: 0.5984 MB / 1.308 GB, free: 1.234 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.0008002/0.3569, allocations: 355.1 kB / 1.308 GB, free: 0.8867 MB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.313e-05/0.3569, allocations: 0 / 1.308 GB, free: 0.8867 MB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 1.77e-05/0.357, allocations: 3.938 kB / 1.308 GB, free: 0.8828 MB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 1.787e-05/0.357, allocations: 0 / 1.308 GB, free: 0.8828 MB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0005699/0.3576, allocations: 118.2 kB / 1.308 GB, free: 0.7695 MB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 5.021e-05/0.3576, allocations: 7.984 kB / 1.308 GB, free: 0.7617 MB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.241e-05/0.3576, allocations: 8 kB / 1.308 GB, free: 0.7539 MB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 1.603e-05/0.3577, allocations: 0 / 1.308 GB, free: 0.7539 MB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.103e-05/0.3577, allocations: 11.98 kB / 1.308 GB, free: 0.7422 MB / 0.9981 GB
Notification: Performance of NFPackage.collectConstants: time 1.113e-05/0.3577, allocations: 0 / 1.308 GB, free: 0.7422 MB / 0.9981 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004152/0.3581, allocations: 275.6 kB / 1.308 GB, free: 484 kB / 0.9981 GB
Notification: Performance of NFScalarize.scalarize: time 1.36e-05/0.3582, allocations: 3.938 kB / 1.308 GB, free: 480 kB / 0.9981 GB
Notification: Performance of NFVerifyModel.verify: time 1.925e-05/0.3582, allocations: 4 kB / 1.308 GB, free: 476 kB / 0.9981 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001958/0.3584, allocations: 95.72 kB / 1.308 GB, free: 380 kB / 0.9981 GB
Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3584, allocations: 3.938 kB / 1.308 GB, free: 376 kB / 0.9981 GB
Notification: Performance of FrontEnd: time 1.282e-06/0.3584, allocations: 0 / 1.308 GB, free: 376 kB / 0.9981 GB
Notification: Performance of Transformations before backend: time 8.375e-06/0.3584, allocations: 0 / 1.308 GB, free: 376 kB / 0.9981 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.0003689/0.3588, allocations: 266.2 kB / 1.309 GB, free: 76 kB / 0.9981 GB
Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.3588, allocations: 8.031 kB / 1.309 GB, free: 68 kB / 0.9981 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.634e-05/0.3589, allocations: 8.938 kB / 1.309 GB, free: 60 kB / 0.9981 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.359, allocations: 106.5 kB / 1.309 GB, free: 15.93 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.359, allocations: 384 / 1.309 GB, free: 15.93 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.084e-05/0.359, allocations: 4.375 kB / 1.309 GB, free: 15.93 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/0.3591, allocations: 42.17 kB / 1.309 GB, free: 15.88 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.3591, allocations: 192 / 1.309 GB, free: 15.88 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.3591, allocations: 3.938 kB / 1.309 GB, free: 15.88 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.3591, allocations: 4 kB / 1.309 GB, free: 15.87 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 2.354e-05/0.3592, allocations: 8 kB / 1.309 GB, free: 15.86 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001593/0.3593, allocations: 120.8 kB / 1.309 GB, free: 15.7 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 5.51e-05/0.3594, allocations: 22.61 kB / 1.309 GB, free: 15.67 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 1.641e-05/0.3594, allocations: 4.859 kB / 1.309 GB, free: 15.66 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0005935/0.36, allocations: 87.92 kB / 1.309 GB, free: 15.58 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.088e-05/0.36, allocations: 34.55 kB / 1.309 GB, free: 15.54 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.36, allocations: 0 / 1.309 GB, free: 15.54 MB / 1.014 GB
Notification: Performance of matching and sorting (n=3): time 0.0005832/0.3606, allocations: 177.4 kB / 1.309 GB, free: 15.33 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.3607, allocations: 55.41 kB / 1.309 GB, free: 15.26 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.123e-05/0.3607, allocations: 93.86 kB / 1.309 GB, free: 15.16 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.3608, allocations: 25.7 kB / 1.309 GB, free: 15.13 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 4.485e-05/0.3608, allocations: 84.14 kB / 1.31 GB, free: 15.04 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.765e-05/0.3608, allocations: 11.91 kB / 1.31 GB, free: 15.03 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.731e-05/0.3609, allocations: 17.86 kB / 1.31 GB, free: 15.01 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001672/0.361, allocations: 326.8 kB / 1.31 GB, free: 14.68 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.956e-05/0.3611, allocations: 4 kB / 1.31 GB, free: 14.68 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.161e-05/0.3611, allocations: 17.7 kB / 1.31 GB, free: 14.65 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 5.652e-05/0.3611, allocations: 29.66 kB / 1.31 GB, free: 14.62 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.3611, allocations: 3.938 kB / 1.31 GB, free: 14.61 MB / 1.014 GB
Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001082/0.3613, allocations: 53.7 kB / 1.31 GB, free: 14.55 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.3613, allocations: 11.92 kB / 1.31 GB, free: 14.54 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.3613, allocations: 0 / 1.31 GB, free: 14.54 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.3613, allocations: 0 / 1.31 GB, free: 14.54 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.347e-05/0.3614, allocations: 11.94 kB / 1.31 GB, free: 14.53 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.3614, allocations: 0 / 1.31 GB, free: 14.53 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.208e-05/0.3614, allocations: 4 kB / 1.31 GB, free: 14.53 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.3614, allocations: 4 kB / 1.31 GB, free: 14.52 MB / 1.014 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 (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of prepare postOptimizeDAE: time 9.303e-05/0.3615, allocations: 109.8 kB / 1.31 GB, free: 14.41 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.046e-05/0.3615, allocations: 12 kB / 1.31 GB, free: 14.39 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001387/0.3617, allocations: 57.36 kB / 1.31 GB, free: 14.33 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3617, allocations: 0 / 1.31 GB, free: 14.33 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3617, allocations: 0 / 1.31 GB, free: 14.33 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.3617, allocations: 3.938 kB / 1.31 GB, free: 14.32 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001203/0.3618, allocations: 124.8 kB / 1.31 GB, free: 14.16 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3618, allocations: 0 / 1.31 GB, free: 14.16 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.475e-05/0.3618, allocations: 4 kB / 1.31 GB, free: 14.16 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 6.652e-06/0.3619, allocations: 3.938 kB / 1.31 GB, free: 14.15 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.3619, allocations: 8 kB / 1.31 GB, free: 14.14 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3619, allocations: 0 / 1.31 GB, free: 14.14 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3619, allocations: 0 / 1.31 GB, free: 14.14 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001587/0.362, allocations: 81.25 kB / 1.31 GB, free: 14.05 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.04e-05/0.362, allocations: 8.062 kB / 1.31 GB, free: 14.04 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.362, allocations: 3.938 kB / 1.31 GB, free: 14.04 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.675e-05/0.3621, allocations: 0 / 1.31 GB, free: 14.04 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.74e-05/0.3621, allocations: 64 / 1.31 GB, free: 14.04 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.134e-06/0.3621, allocations: 8 kB / 1.31 GB, free: 14.03 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 5.398e-05/0.3622, allocations: 79.27 kB / 1.31 GB, free: 13.95 MB / 1.014 GB
Notification: Performance of sort global known variables: time 9e-08/0.3622, allocations: 3.938 kB / 1.311 GB, free: 13.95 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002272/0.3624, allocations: 27.94 kB / 1.311 GB, free: 13.92 MB / 1.014 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 (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.0002038/0.3626, allocations: 124 kB / 1.311 GB, free: 13.79 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 9.219e-05/0.3627, allocations: 16 kB / 1.311 GB, free: 13.77 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.3627, allocations: 4.156 kB / 1.311 GB, free: 13.77 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 1.869e-05/0.3627, allocations: 15.92 kB / 1.311 GB, free: 13.75 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00014/0.3628, allocations: 7.938 kB / 1.311 GB, free: 13.74 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002834/0.3631, allocations: 113.4 kB / 1.311 GB, free: 13.61 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.3635, allocations: 0.6768 MB / 1.311 GB, free: 12.9 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 3.301e-05/0.3635, allocations: 7.984 kB / 1.311 GB, free: 12.89 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.032e-05/0.3635, allocations: 7.438 kB / 1.311 GB, free: 12.89 MB / 1.014 GB
Notification: Performance of SimCode: time 4.21e-07/0.3635, allocations: 4 kB / 1.311 GB, free: 12.88 MB / 1.014 GB
Notification: Performance of Templates: time 0.003785/0.3673, allocations: 0.89 MB / 1.312 GB, free: 12 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.568745912984014]