Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001697/0.001697, 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.001528/0.001528, 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.477/1.477, allocations: 225.6 MB / 251 MB, free: 13.01 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.769/2.769, allocations: 476.7 MB / 0.7646 GB, free: 9.875 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.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_11_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_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002115/0.002115, allocations: 63.89 kB / 1.11 GB, free: 6.297 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.7839/0.786, allocations: 168.8 MB / 1.274 GB, free: 4.188 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001696/0.7877, allocations: 0.6074 MB / 1.275 GB, free: 3.59 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.0007424/0.7885, allocations: 354.7 kB / 1.275 GB, free: 3.242 MB / 0.9669 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.475e-05/0.7885, allocations: 0 / 1.275 GB, free: 3.242 MB / 0.9669 GB
Notification: Performance of NFTyping.typeComponents: time 1.255e-05/0.7885, allocations: 0 / 1.275 GB, free: 3.242 MB / 0.9669 GB
Notification: Performance of NFTyping.typeBindings: time 2.882e-05/0.7885, allocations: 3.938 kB / 1.275 GB, free: 3.238 MB / 0.9669 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0004509/0.789, allocations: 111.7 kB / 1.275 GB, free: 3.129 MB / 0.9669 GB
Notification: Performance of NFFlatten.flatten: time 5.34e-05/0.789, allocations: 11.98 kB / 1.275 GB, free: 3.117 MB / 0.9669 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.13e-05/0.7891, allocations: 0 / 1.275 GB, free: 3.117 MB / 0.9669 GB
Notification: Performance of NFEvalConstants.evaluate: time 1.923e-05/0.7891, allocations: 8 kB / 1.275 GB, free: 3.109 MB / 0.9669 GB
Notification: Performance of NFSimplifyModel.simplify: time 4.983e-05/0.7891, allocations: 11.91 kB / 1.275 GB, free: 3.098 MB / 0.9669 GB
Notification: Performance of NFPackage.collectConstants: time 1.387e-05/0.7891, allocations: 4 kB / 1.275 GB, free: 3.094 MB / 0.9669 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004146/0.7896, allocations: 267.7 kB / 1.276 GB, free: 2.832 MB / 0.9669 GB
Notification: Performance of NFScalarize.scalarize: time 1.236e-05/0.7896, allocations: 4 kB / 1.276 GB, free: 2.828 MB / 0.9669 GB
Notification: Performance of NFVerifyModel.verify: time 2.508e-05/0.7896, allocations: 4 kB / 1.276 GB, free: 2.824 MB / 0.9669 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002083/0.7898, allocations: 98.09 kB / 1.276 GB, free: 2.734 MB / 0.9669 GB
Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.7898, allocations: 4 kB / 1.276 GB, free: 2.73 MB / 0.9669 GB
Notification: Performance of FrontEnd: time 1.452e-06/0.7898, allocations: 4 kB / 1.276 GB, free: 2.727 MB / 0.9669 GB
Notification: Performance of Transformations before backend: time 4.619e-06/0.7898, allocations: 3.938 kB / 1.276 GB, free: 2.723 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: 2
 * Number of variables: 2
Notification: Performance of Generate backend data structure: time 0.0004235/0.7902, allocations: 270.1 kB / 1.276 GB, free: 2.426 MB / 0.9669 GB
Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.7903, allocations: 8.031 kB / 1.276 GB, free: 2.418 MB / 0.9669 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.85e-05/0.7903, allocations: 0.9375 kB / 1.276 GB, free: 2.418 MB / 0.9669 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.7905, allocations: 106.5 kB / 1.276 GB, free: 2.289 MB / 0.9669 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.7905, allocations: 384 / 1.276 GB, free: 2.289 MB / 0.9669 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.7905, allocations: 384 / 1.276 GB, free: 2.289 MB / 0.9669 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 9.814e-05/0.7906, allocations: 42.25 kB / 1.276 GB, free: 2.242 MB / 0.9669 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.7906, allocations: 4.188 kB / 1.276 GB, free: 2.238 MB / 0.9669 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.7906, allocations: 3.938 kB / 1.276 GB, free: 2.234 MB / 0.9669 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.367e-06/0.7906, allocations: 3.938 kB / 1.276 GB, free: 2.23 MB / 0.9669 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 1.96e-05/0.7906, allocations: 0 / 1.276 GB, free: 2.23 MB / 0.9669 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001742/0.7908, allocations: 124.8 kB / 1.276 GB, free: 2.066 MB / 0.9669 GB
Notification: Performance of preOpt comSubExp (simulation): time 5.484e-05/0.7909, allocations: 22.55 kB / 1.276 GB, free: 2.035 MB / 0.9669 GB
Notification: Performance of preOpt resolveLoops (simulation): time 1.873e-05/0.7909, allocations: 8.922 kB / 1.276 GB, free: 2.023 MB / 0.9669 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0005734/0.7914, allocations: 79.91 kB / 1.276 GB, free: 1.945 MB / 0.9669 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.7915, allocations: 34.56 kB / 1.276 GB, free: 1.902 MB / 0.9669 GB
Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.7915, allocations: 7.938 kB / 1.277 GB, free: 1.895 MB / 0.9669 GB
Notification: Performance of matching and sorting (n=3): time 0.000487/0.792, allocations: 177.2 kB / 1.277 GB, free: 1.688 MB / 0.9669 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/0.792, allocations: 51.41 kB / 1.277 GB, free: 1.625 MB / 0.9669 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.759e-05/0.7921, allocations: 93.86 kB / 1.277 GB, free: 1.523 MB / 0.9669 GB
Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.7921, allocations: 25.7 kB / 1.277 GB, free: 1.492 MB / 0.9669 GB
Notification: Performance of collectInitialEqns (initialization): time 4.563e-05/0.7922, allocations: 80.48 kB / 1.277 GB, free: 1.41 MB / 0.9669 GB
Notification: Performance of collectInitialBindings (initialization): time 3.343e-05/0.7922, allocations: 27.83 kB / 1.277 GB, free: 1.383 MB / 0.9669 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.979e-05/0.7922, allocations: 9.719 kB / 1.277 GB, free: 1.367 MB / 0.9669 GB
Notification: Performance of setup shared object (initialization): time 0.0001421/0.7924, allocations: 318.8 kB / 1.277 GB, free: 1.047 MB / 0.9669 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 2.049e-05/0.7924, allocations: 4 kB / 1.277 GB, free: 1.043 MB / 0.9669 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.11e-05/0.7924, allocations: 25.64 kB / 1.277 GB, free: 1.012 MB / 0.9669 GB
Notification: Performance of analyzeInitialSystem (initialization): time 4.864e-05/0.7925, allocations: 21.72 kB / 1.277 GB, free: 0.9844 MB / 0.9669 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.7925, allocations: 4 kB / 1.277 GB, free: 0.9805 MB / 0.9669 GB
Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001115/0.7926, allocations: 53.62 kB / 1.277 GB, free: 0.9219 MB / 0.9669 GB
Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.7926, allocations: 11.94 kB / 1.277 GB, free: 0.9102 MB / 0.9669 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.7926, allocations: 0 / 1.277 GB, free: 0.9102 MB / 0.9669 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.7926, allocations: 0 / 1.277 GB, free: 0.9102 MB / 0.9669 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.639e-05/0.7927, allocations: 4 kB / 1.277 GB, free: 0.9062 MB / 0.9669 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.7927, allocations: 4 kB / 1.277 GB, free: 0.9023 MB / 0.9669 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.824e-05/0.7927, allocations: 0 / 1.277 GB, free: 0.9023 MB / 0.9669 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.7927, allocations: 0 / 1.277 GB, free: 0.9023 MB / 0.9669 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 8.523e-05/0.7928, allocations: 117.9 kB / 1.277 GB, free: 0.7773 MB / 0.9669 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.656e-05/0.7928, allocations: 7.922 kB / 1.277 GB, free: 0.7695 MB / 0.9669 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001368/0.7929, allocations: 53.31 kB / 1.278 GB, free: 0.7109 MB / 0.9669 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.7929, allocations: 192 / 1.278 GB, free: 0.7109 MB / 0.9669 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.7929, allocations: 0 / 1.278 GB, free: 0.7109 MB / 0.9669 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.793, allocations: 11.98 kB / 1.278 GB, free: 0.6992 MB / 0.9669 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001198/0.7931, allocations: 124.8 kB / 1.278 GB, free: 0.5352 MB / 0.9669 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.7931, allocations: 0 / 1.278 GB, free: 0.5352 MB / 0.9669 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.569e-05/0.7931, allocations: 8 kB / 1.278 GB, free: 0.5273 MB / 0.9669 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.7931, allocations: 7.875 kB / 1.278 GB, free: 0.5195 MB / 0.9669 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.7931, allocations: 0 / 1.278 GB, free: 0.5195 MB / 0.9669 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.7931, allocations: 3.984 kB / 1.278 GB, free: 0.5156 MB / 0.9669 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.7931, allocations: 4 kB / 1.278 GB, free: 0.5117 MB / 0.9669 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001826/0.7933, allocations: 81.02 kB / 1.278 GB, free: 424 kB / 0.9669 GB
Notification: Performance of postOpt removeConstants (simulation): time 5.2e-06/0.7933, allocations: 0 / 1.278 GB, free: 424 kB / 0.9669 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.7933, allocations: 7.875 kB / 1.278 GB, free: 416 kB / 0.9669 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.2e-05/0.7934, allocations: 8.094 kB / 1.278 GB, free: 408 kB / 0.9669 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.782e-05/0.7934, allocations: 3.984 kB / 1.278 GB, free: 404 kB / 0.9669 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.7934, allocations: 0 / 1.278 GB, free: 404 kB / 0.9669 GB
Notification: Performance of sorting global known variables: time 4.692e-05/0.7935, allocations: 83.28 kB / 1.278 GB, free: 320 kB / 0.9669 GB
Notification: Performance of sort global known variables: time 7e-08/0.7935, allocations: 0 / 1.278 GB, free: 320 kB / 0.9669 GB
Notification: Performance of remove unused functions: time 0.0002187/0.7937, allocations: 23.94 kB / 1.278 GB, free: 296 kB / 0.9669 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.0002322/0.7939, allocations: 123.2 kB / 1.278 GB, free: 160 kB / 0.9669 GB
Notification: Performance of simCode: created initialization part: time 0.0001049/0.794, allocations: 24.02 kB / 1.278 GB, free: 136 kB / 0.9669 GB
Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.794, allocations: 0 / 1.278 GB, free: 136 kB / 0.9669 GB
Notification: Performance of simCode: created simulation system equations: time 1.601e-05/0.794, allocations: 8 kB / 1.278 GB, free: 128 kB / 0.9669 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001573/0.7942, allocations: 2.625 kB / 1.278 GB, free: 128 kB / 0.9669 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003057/0.7945, allocations: 113.6 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003564/0.7949, allocations: 0.6807 MB / 1.279 GB, free: 15.28 MB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 2.968e-05/0.7949, allocations: 4.125 kB / 1.279 GB, free: 15.27 MB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.278e-05/0.7949, allocations: 11.44 kB / 1.279 GB, free: 15.26 MB / 0.9825 GB
Notification: Performance of SimCode: time 3.41e-07/0.7949, allocations: 0 / 1.279 GB, free: 15.26 MB / 0.9825 GB
Notification: Performance of Templates: time 0.003717/0.7986, allocations: 0.8948 MB / 1.28 GB, free: 14.38 MB / 0.9825 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.675937989726663]