Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001722/0.001722, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.001837/0.001837, allocations: 186 kB / 22.23 MB, free: 5.137 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.337/1.337, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB
"
[Timeout remaining time 179]
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 3.004/3.004, allocations: 495.7 MB / 0.7831 GB, free: 33.62 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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 71.58 kB / 1.137 GB, free: 33.84 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.342, allocations: 173.6 MB / 1.307 GB, free: 1.859 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.002108/0.3441, allocations: 0.6295 MB / 1.308 GB, free: 1.23 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.0007984/0.3449, allocations: 359.1 kB / 1.308 GB, free: 0.8789 MB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.572e-05/0.3449, allocations: 0 / 1.308 GB, free: 0.8789 MB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 1.97e-05/0.345, allocations: 0 / 1.308 GB, free: 0.8789 MB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 2.879e-05/0.345, allocations: 3.938 kB / 1.308 GB, free: 0.875 MB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0005254/0.3455, allocations: 123.5 kB / 1.308 GB, free: 0.7539 MB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 7.577e-05/0.3456, allocations: 23.92 kB / 1.308 GB, free: 0.7305 MB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 3.991e-05/0.3456, allocations: 11.98 kB / 1.308 GB, free: 0.7188 MB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 4.069e-05/0.3457, allocations: 7.938 kB / 1.308 GB, free: 0.7109 MB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.512e-05/0.3457, allocations: 15.92 kB / 1.308 GB, free: 0.6953 MB / 0.9981 GB
Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.3457, allocations: 0 / 1.308 GB, free: 0.6953 MB / 0.9981 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004144/0.3462, allocations: 275.6 kB / 1.308 GB, free: 436 kB / 0.9981 GB
Notification: Performance of NFScalarize.scalarize: time 1.702e-05/0.3462, allocations: 8 kB / 1.308 GB, free: 428 kB / 0.9981 GB
Notification: Performance of NFVerifyModel.verify: time 3.079e-05/0.3462, allocations: 15.92 kB / 1.308 GB, free: 412 kB / 0.9981 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002143/0.3464, allocations: 99.66 kB / 1.309 GB, free: 312 kB / 0.9981 GB
Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3464, allocations: 0 / 1.309 GB, free: 312 kB / 0.9981 GB
Notification: Performance of FrontEnd: time 1.663e-06/0.3464, allocations: 0 / 1.309 GB, free: 312 kB / 0.9981 GB
Notification: Performance of Transformations before backend: time 5.861e-06/0.3464, allocations: 0 / 1.309 GB, free: 312 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: 7
 * Number of variables: 7
Notification: Performance of Generate backend data structure: time 0.0004657/0.3469, allocations: 290.2 kB / 1.309 GB, free: 15.98 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.3469, allocations: 8.031 kB / 1.309 GB, free: 15.98 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.854e-05/0.347, allocations: 8.891 kB / 1.309 GB, free: 15.97 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.3471, allocations: 114.4 kB / 1.309 GB, free: 15.84 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.3471, allocations: 4.375 kB / 1.309 GB, free: 15.83 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.426e-05/0.3471, allocations: 4.375 kB / 1.309 GB, free: 15.83 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.3473, allocations: 50.19 kB / 1.309 GB, free: 15.77 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.3473, allocations: 192 / 1.309 GB, free: 15.77 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.3473, allocations: 7.938 kB / 1.309 GB, free: 15.77 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.3473, allocations: 4 kB / 1.309 GB, free: 15.76 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 5.064e-05/0.3473, allocations: 15.98 kB / 1.309 GB, free: 15.75 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001994/0.3475, allocations: 144.6 kB / 1.309 GB, free: 15.56 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.3477, allocations: 54.55 kB / 1.309 GB, free: 15.5 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.464e-05/0.3477, allocations: 28.8 kB / 1.309 GB, free: 15.47 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0005581/0.3483, allocations: 83.91 kB / 1.309 GB, free: 15.39 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.3483, allocations: 34.56 kB / 1.309 GB, free: 15.34 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.3483, allocations: 0 / 1.309 GB, free: 15.34 MB / 1.014 GB
Notification: Performance of matching and sorting (n=11): time 0.001253/0.3495, allocations: 455.8 kB / 1.31 GB, free: 14.84 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.3496, allocations: 55.41 kB / 1.31 GB, free: 14.78 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.203e-05/0.3497, allocations: 97.86 kB / 1.31 GB, free: 14.67 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.3497, allocations: 29.69 kB / 1.31 GB, free: 14.64 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 4.859e-05/0.3497, allocations: 88.14 kB / 1.31 GB, free: 14.55 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 4.6e-05/0.3498, allocations: 35.66 kB / 1.31 GB, free: 14.51 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.72e-05/0.3498, allocations: 29.7 kB / 1.31 GB, free: 14.48 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001473/0.35, allocations: 314.8 kB / 1.31 GB, free: 14.16 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 4.563e-05/0.35, allocations: 23.98 kB / 1.31 GB, free: 14.14 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.946e-05/0.3501, allocations: 19.98 kB / 1.31 GB, free: 14.12 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 9.787e-05/0.3502, allocations: 59.17 kB / 1.31 GB, free: 14.06 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.3502, allocations: 0 / 1.31 GB, free: 14.06 MB / 1.014 GB
Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001914/0.3504, allocations: 105.6 kB / 1.311 GB, free: 13.95 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.3504, allocations: 8 kB / 1.311 GB, free: 13.94 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.3504, allocations: 4 kB / 1.311 GB, free: 13.94 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.3504, allocations: 0 / 1.311 GB, free: 13.94 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.3505, allocations: 24 kB / 1.311 GB, free: 13.91 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.994e-06/0.3505, allocations: 3.984 kB / 1.311 GB, free: 13.91 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.171e-05/0.3505, allocations: 0 / 1.311 GB, free: 13.91 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.3505, allocations: 7.984 kB / 1.311 GB, free: 13.9 MB / 1.014 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.543e-05/0.3506, allocations: 121.7 kB / 1.311 GB, free: 13.77 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.83e-05/0.3507, allocations: 4.125 kB / 1.311 GB, free: 13.77 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001997/0.3509, allocations: 113.7 kB / 1.311 GB, free: 13.65 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.3509, allocations: 3.984 kB / 1.311 GB, free: 13.64 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.3509, allocations: 3.984 kB / 1.311 GB, free: 13.64 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3509, allocations: 0 / 1.311 GB, free: 13.64 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004355/0.3513, allocations: 329.5 kB / 1.311 GB, free: 13.27 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3513, allocations: 0 / 1.311 GB, free: 13.27 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.3514, allocations: 24 kB / 1.311 GB, free: 13.25 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3514, allocations: 0 / 1.311 GB, free: 13.25 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.3514, allocations: 3.938 kB / 1.311 GB, free: 13.24 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.3514, allocations: 7.984 kB / 1.311 GB, free: 13.23 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3514, allocations: 0 / 1.311 GB, free: 13.23 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003024/0.3517, allocations: 215.4 kB / 1.311 GB, free: 13.01 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 3.399e-05/0.3518, allocations: 15.97 kB / 1.311 GB, free: 12.99 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/0.3518, allocations: 0 / 1.311 GB, free: 12.99 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.3519, allocations: 4 kB / 1.311 GB, free: 12.99 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.351e-05/0.3519, allocations: 3.984 kB / 1.311 GB, free: 12.98 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.3519, allocations: 8 kB / 1.311 GB, free: 12.98 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 4.354e-05/0.352, allocations: 83.34 kB / 1.312 GB, free: 12.89 MB / 1.014 GB
Notification: Performance of sort global known variables: time 8e-08/0.352, allocations: 0 / 1.312 GB, free: 12.89 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.000282/0.3523, allocations: 47.86 kB / 1.312 GB, free: 12.85 MB / 1.014 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.0002575/0.3525, allocations: 143.8 kB / 1.312 GB, free: 12.7 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0001505/0.3527, allocations: 55.91 kB / 1.312 GB, free: 12.64 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3527, allocations: 0 / 1.312 GB, free: 12.64 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 5.1e-05/0.3527, allocations: 32.38 kB / 1.312 GB, free: 12.61 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/0.353, allocations: 15.92 kB / 1.312 GB, free: 12.6 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003822/0.3533, allocations: 178 kB / 1.312 GB, free: 12.4 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/0.3537, allocations: 0.6885 MB / 1.313 GB, free: 11.68 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 4.849e-05/0.3537, allocations: 7.938 kB / 1.313 GB, free: 11.68 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.881e-05/0.3537, allocations: 15.44 kB / 1.313 GB, free: 11.66 MB / 1.014 GB
Notification: Performance of SimCode: time 3.3e-07/0.3537, allocations: 4 kB / 1.313 GB, free: 11.66 MB / 1.014 GB
Notification: Performance of Templates: time 0.004813/0.3586, allocations: 1.46 MB / 1.314 GB, free: 10.21 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.489318537525833]