Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001481/0.001481, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.001816/0.001816, allocations: 190 kB / 22.1 MB, free: 4.34 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.474/1.474, allocations: 225.6 MB / 250.8 MB, free: 2.906 MB / 190.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.951/2.951, allocations: 495.8 MB / 0.7831 GB, free: 12.26 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_12_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_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002144/0.002144, allocations: 71.89 kB / 1.137 GB, free: 12.17 MB / 0.92 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.9968/0.9989, allocations: 173.6 MB / 1.307 GB, free: 33.74 MB / 1.061 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.00166/1.001, allocations: 0.5995 MB / 1.307 GB, free: 33.38 MB / 1.061 GB
Notification: Performance of NFInst.instExpressions: time 0.0006087/1.001, allocations: 342.5 kB / 1.308 GB, free: 33.15 MB / 1.061 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.37e-05/1.001, allocations: 0 / 1.308 GB, free: 33.15 MB / 1.061 GB
Notification: Performance of NFTyping.typeComponents: time 2.07e-05/1.001, allocations: 7.875 kB / 1.308 GB, free: 33.14 MB / 1.061 GB
Notification: Performance of NFTyping.typeBindings: time 1.82e-05/1.001, allocations: 0 / 1.308 GB, free: 33.14 MB / 1.061 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0004595/1.002, allocations: 116.4 kB / 1.308 GB, free: 33.1 MB / 1.061 GB
Notification: Performance of NFFlatten.flatten: time 5.644e-05/1.002, allocations: 13.06 kB / 1.308 GB, free: 33.1 MB / 1.061 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.518e-05/1.002, allocations: 2.875 kB / 1.308 GB, free: 33.1 MB / 1.061 GB
Notification: Performance of NFEvalConstants.evaluate: time 1.68e-05/1.002, allocations: 0 / 1.308 GB, free: 33.1 MB / 1.061 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.93e-05/1.002, allocations: 10.19 kB / 1.308 GB, free: 33.09 MB / 1.061 GB
Notification: Performance of NFPackage.collectConstants: time 1.31e-05/1.002, allocations: 3.938 kB / 1.308 GB, free: 33.09 MB / 1.061 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0003256/1.002, allocations: 278.9 kB / 1.308 GB, free: 33.02 MB / 1.061 GB
Notification: Performance of NFScalarize.scalarize: time 1.561e-05/1.002, allocations: 7.922 kB / 1.308 GB, free: 33.01 MB / 1.061 GB
Notification: Performance of NFVerifyModel.verify: time 1.798e-05/1.002, allocations: 2.719 kB / 1.308 GB, free: 33.01 MB / 1.061 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001625/1.002, allocations: 86.39 kB / 1.308 GB, free: 32.99 MB / 1.061 GB
Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/1.002, allocations: 6.75 kB / 1.308 GB, free: 32.99 MB / 1.061 GB
Notification: Performance of FrontEnd: time 1.723e-06/1.002, allocations: 4 kB / 1.308 GB, free: 32.98 MB / 1.061 GB
Notification: Performance of Transformations before backend: time 5.44e-06/1.002, allocations: 0 / 1.308 GB, free: 32.98 MB / 1.061 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.0003234/1.003, allocations: 272.3 kB / 1.308 GB, free: 32.7 MB / 1.061 GB
Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/1.003, allocations: 12.84 kB / 1.308 GB, free: 32.7 MB / 1.061 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.279e-05/1.003, allocations: 4.156 kB / 1.308 GB, free: 32.7 MB / 1.061 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 7.873e-05/1.003, allocations: 102.5 kB / 1.309 GB, free: 32.57 MB / 1.061 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/1.003, allocations: 4.375 kB / 1.309 GB, free: 32.57 MB / 1.061 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.441e-05/1.003, allocations: 3.531 kB / 1.309 GB, free: 32.57 MB / 1.061 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/1.003, allocations: 36.77 kB / 1.309 GB, free: 32.54 MB / 1.061 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/1.003, allocations: 192 / 1.309 GB, free: 32.54 MB / 1.061 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/1.003, allocations: 3.938 kB / 1.309 GB, free: 32.53 MB / 1.061 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/1.003, allocations: 6.844 kB / 1.309 GB, free: 32.53 MB / 1.061 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 2.21e-05/1.003, allocations: 3.938 kB / 1.309 GB, free: 32.52 MB / 1.061 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001334/1.003, allocations: 130.1 kB / 1.309 GB, free: 32.36 MB / 1.061 GB
Notification: Performance of preOpt comSubExp (simulation): time 5.034e-05/1.003, allocations: 21.73 kB / 1.309 GB, free: 32.34 MB / 1.061 GB
Notification: Performance of preOpt resolveLoops (simulation): time 1.713e-05/1.003, allocations: 11.83 kB / 1.309 GB, free: 32.32 MB / 1.061 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.000558/1.004, allocations: 73.2 kB / 1.309 GB, free: 32.32 MB / 1.061 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/1.004, allocations: 34.56 kB / 1.309 GB, free: 32.28 MB / 1.061 GB
Notification: Performance of pre-optimization done (n=2): time 9.92e-07/1.004, allocations: 0 / 1.309 GB, free: 32.28 MB / 1.061 GB
Notification: Performance of matching and sorting (n=3): time 0.0004614/1.004, allocations: 179.5 kB / 1.309 GB, free: 32.11 MB / 1.061 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 1.989e-05/1.004, allocations: 54 kB / 1.309 GB, free: 32.05 MB / 1.061 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.813e-05/1.004, allocations: 96.89 kB / 1.309 GB, free: 31.95 MB / 1.061 GB
Notification: Performance of collectPreVariables (initialization): time 8.135e-06/1.004, allocations: 25.7 kB / 1.309 GB, free: 31.91 MB / 1.061 GB
Notification: Performance of collectInitialEqns (initialization): time 1.356e-05/1.004, allocations: 84.42 kB / 1.309 GB, free: 31.83 MB / 1.061 GB
Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/1.004, allocations: 21.72 kB / 1.309 GB, free: 31.81 MB / 1.061 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-05/1.004, allocations: 16.31 kB / 1.309 GB, free: 31.79 MB / 1.061 GB
Notification: Performance of setup shared object (initialization): time 4.222e-05/1.005, allocations: 310.8 kB / 1.31 GB, free: 31.48 MB / 1.061 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.864e-05/1.005, allocations: 9.25 kB / 1.31 GB, free: 31.48 MB / 1.061 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 2.27e-05/1.005, allocations: 18.59 kB / 1.31 GB, free: 31.46 MB / 1.061 GB
Notification: Performance of analyzeInitialSystem (initialization): time 4.005e-05/1.005, allocations: 25.97 kB / 1.31 GB, free: 31.44 MB / 1.061 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/1.005, allocations: 3.938 kB / 1.31 GB, free: 31.43 MB / 1.061 GB
Notification: Performance of matching and sorting (n=4) (initialization): time 8.382e-05/1.005, allocations: 53.8 kB / 1.31 GB, free: 31.39 MB / 1.061 GB
Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/1.005, allocations: 9.75 kB / 1.31 GB, free: 31.39 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/1.005, allocations: 0 / 1.31 GB, free: 31.39 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/1.005, allocations: 0 / 1.31 GB, free: 31.39 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.587e-05/1.005, allocations: 5.906 kB / 1.31 GB, free: 31.39 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.994e-06/1.005, allocations: 6.469 kB / 1.31 GB, free: 31.39 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.882e-05/1.005, allocations: 4 kB / 1.31 GB, free: 31.39 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.004e-06/1.005, allocations: 64 / 1.31 GB, free: 31.39 MB / 1.061 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 4.383e-05/1.005, allocations: 116.6 kB / 1.31 GB, free: 31.27 MB / 1.061 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.245e-05/1.005, allocations: 10.84 kB / 1.31 GB, free: 31.26 MB / 1.061 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001168/1.005, allocations: 63.55 kB / 1.31 GB, free: 31.2 MB / 1.061 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/1.005, allocations: 0 / 1.31 GB, free: 31.2 MB / 1.061 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/1.005, allocations: 0 / 1.31 GB, free: 31.2 MB / 1.061 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/1.005, allocations: 0 / 1.31 GB, free: 31.2 MB / 1.061 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.153e-05/1.005, allocations: 121.5 kB / 1.31 GB, free: 31.05 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/1.005, allocations: 4 kB / 1.31 GB, free: 31.05 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.254e-05/1.005, allocations: 6.031 kB / 1.31 GB, free: 31.05 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/1.005, allocations: 3.938 kB / 1.31 GB, free: 31.04 MB / 1.061 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.433e-06/1.005, allocations: 4 kB / 1.31 GB, free: 31.04 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/1.005, allocations: 3.141 kB / 1.31 GB, free: 31.04 MB / 1.061 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/1.005, allocations: 0 / 1.31 GB, free: 31.04 MB / 1.061 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00012/1.005, allocations: 77.81 kB / 1.31 GB, free: 30.96 MB / 1.061 GB
Notification: Performance of postOpt removeConstants (simulation): time 6.592e-06/1.005, allocations: 7 kB / 1.31 GB, free: 30.96 MB / 1.061 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/1.005, allocations: 11.23 kB / 1.31 GB, free: 30.95 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.714e-05/1.005, allocations: 2.969 kB / 1.31 GB, free: 30.95 MB / 1.061 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.242e-05/1.005, allocations: 4 kB / 1.31 GB, free: 30.95 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/1.005, allocations: 0 / 1.31 GB, free: 30.95 MB / 1.061 GB
Notification: Performance of sorting global known variables: time 1.779e-05/1.005, allocations: 78.22 kB / 1.31 GB, free: 30.88 MB / 1.061 GB
Notification: Performance of sort global known variables: time 6e-08/1.005, allocations: 0 / 1.31 GB, free: 30.88 MB / 1.061 GB
Notification: Performance of remove unused functions: time 0.0002043/1.006, allocations: 25.19 kB / 1.31 GB, free: 30.87 MB / 1.061 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.0001714/1.006, allocations: 128.2 kB / 1.31 GB, free: 30.77 MB / 1.061 GB
Notification: Performance of simCode: created initialization part: time 9.91e-05/1.006, allocations: 18.34 kB / 1.31 GB, free: 30.76 MB / 1.061 GB
Notification: Performance of simCode: created event and clocks part: time 1.944e-06/1.006, allocations: 0 / 1.31 GB, free: 30.76 MB / 1.061 GB
Notification: Performance of simCode: created simulation system equations: time 1.593e-05/1.006, allocations: 17.25 kB / 1.31 GB, free: 30.75 MB / 1.061 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001457/1.006, allocations: 2.938 kB / 1.31 GB, free: 30.75 MB / 1.061 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000225/1.006, allocations: 113.9 kB / 1.311 GB, free: 30.64 MB / 1.061 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001014/1.006, allocations: 0.6751 MB / 1.311 GB, free: 29.94 MB / 1.061 GB
Notification: Performance of simCode: alias equations: time 2.663e-05/1.006, allocations: 7.031 kB / 1.311 GB, free: 29.94 MB / 1.061 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.676e-05/1.006, allocations: 10.47 kB / 1.311 GB, free: 29.93 MB / 1.061 GB
Notification: Performance of SimCode: time 3.21e-07/1.006, allocations: 0 / 1.311 GB, free: 29.93 MB / 1.061 GB
Notification: Performance of Templates: time 0.003493/1.01, allocations: 0.8963 MB / 1.312 GB, free: 29.83 MB / 1.061 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.159099524840713]