Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001949/0.001949, allocations: 113.9 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.001827/0.001827, allocations: 191.7 kB / 22.23 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.453/1.453, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.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 3.203/3.203, allocations: 496 MB / 0.7835 GB, free: 33.65 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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002263/0.002263, allocations: 63.95 kB / 1.138 GB, free: 33.84 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3371, allocations: 173.6 MB / 1.307 GB, free: 1.773 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001793/0.3389, allocations: 0.6334 MB / 1.308 GB, free: 1.141 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.000733/0.3396, allocations: 363.1 kB / 1.308 GB, free: 0.7852 MB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.688e-05/0.3397, allocations: 0 / 1.308 GB, free: 0.7852 MB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 1.452e-05/0.3397, allocations: 3.938 kB / 1.308 GB, free: 0.7812 MB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 2.758e-05/0.3397, allocations: 0 / 1.308 GB, free: 0.7812 MB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0004809/0.3402, allocations: 121.6 kB / 1.308 GB, free: 0.6641 MB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 6.989e-05/0.3402, allocations: 19.98 kB / 1.308 GB, free: 0.6445 MB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 3.845e-05/0.3403, allocations: 0 / 1.308 GB, free: 0.6445 MB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 4.185e-05/0.3403, allocations: 19.92 kB / 1.308 GB, free: 0.625 MB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.773e-05/0.3404, allocations: 19.92 kB / 1.308 GB, free: 0.6055 MB / 0.9981 GB
Notification: Performance of NFPackage.collectConstants: time 1.387e-05/0.3404, allocations: 0 / 1.308 GB, free: 0.6055 MB / 0.9981 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0003917/0.3408, allocations: 271.7 kB / 1.309 GB, free: 348 kB / 0.9981 GB
Notification: Performance of NFScalarize.scalarize: time 1.724e-05/0.3408, allocations: 7.984 kB / 1.309 GB, free: 340 kB / 0.9981 GB
Notification: Performance of NFVerifyModel.verify: time 3.086e-05/0.3408, allocations: 15.92 kB / 1.309 GB, free: 324 kB / 0.9981 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001889/0.341, allocations: 95.66 kB / 1.309 GB, free: 228 kB / 0.9981 GB
Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.341, allocations: 8 kB / 1.309 GB, free: 220 kB / 0.9981 GB
Notification: Performance of FrontEnd: time 1.333e-06/0.341, allocations: 0 / 1.309 GB, free: 220 kB / 0.9981 GB
Notification: Performance of Transformations before backend: time 5.38e-06/0.341, allocations: 0 / 1.309 GB, free: 220 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.0004513/0.3415, allocations: 286 kB / 1.309 GB, free: 15.9 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.3415, allocations: 12.03 kB / 1.309 GB, free: 15.89 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.665e-05/0.3416, allocations: 4.891 kB / 1.309 GB, free: 15.89 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.3417, allocations: 110.5 kB / 1.309 GB, free: 15.75 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.3417, allocations: 4.375 kB / 1.309 GB, free: 15.75 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.3417, allocations: 8.359 kB / 1.309 GB, free: 15.74 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.3418, allocations: 54.23 kB / 1.309 GB, free: 15.68 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.3419, allocations: 192 / 1.309 GB, free: 15.68 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.3419, allocations: 3.938 kB / 1.309 GB, free: 15.68 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.3419, allocations: 4 kB / 1.309 GB, free: 15.68 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 5.509e-05/0.3419, allocations: 19.98 kB / 1.309 GB, free: 15.66 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001896/0.3421, allocations: 144.6 kB / 1.309 GB, free: 15.47 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.3422, allocations: 66.47 kB / 1.31 GB, free: 15.4 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.285e-05/0.3423, allocations: 20.86 kB / 1.31 GB, free: 15.38 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0006494/0.3429, allocations: 87.91 kB / 1.31 GB, free: 15.29 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.339e-05/0.343, allocations: 30.56 kB / 1.31 GB, free: 15.25 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.343, allocations: 0 / 1.31 GB, free: 15.25 MB / 1.014 GB
Notification: Performance of matching and sorting (n=11): time 0.001353/0.3443, allocations: 455.8 kB / 1.31 GB, free: 14.75 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/0.3444, allocations: 55.41 kB / 1.31 GB, free: 14.68 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.179e-05/0.3444, allocations: 97.8 kB / 1.31 GB, free: 14.58 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.3445, allocations: 29.7 kB / 1.31 GB, free: 14.54 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 3.71e-05/0.3445, allocations: 80.14 kB / 1.31 GB, free: 14.46 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 4.708e-05/0.3445, allocations: 39.64 kB / 1.31 GB, free: 14.42 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.61e-05/0.3446, allocations: 33.8 kB / 1.31 GB, free: 14.38 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001355/0.3447, allocations: 322.8 kB / 1.311 GB, free: 14.06 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 4.355e-05/0.3448, allocations: 19.98 kB / 1.311 GB, free: 14.04 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 4.15e-05/0.3448, allocations: 23.98 kB / 1.311 GB, free: 14.02 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 9.271e-05/0.3449, allocations: 48.86 kB / 1.311 GB, free: 13.96 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.3449, allocations: 0 / 1.311 GB, free: 13.96 MB / 1.014 GB
Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001715/0.3451, allocations: 109.3 kB / 1.311 GB, free: 13.86 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.3451, allocations: 7.984 kB / 1.311 GB, free: 13.85 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.3451, allocations: 0 / 1.311 GB, free: 13.85 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.3451, allocations: 7.938 kB / 1.311 GB, free: 13.84 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.3452, allocations: 20 kB / 1.311 GB, free: 13.82 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.3452, allocations: 0 / 1.311 GB, free: 13.82 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.577e-05/0.3452, allocations: 4 kB / 1.311 GB, free: 13.82 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.3453, allocations: 7.984 kB / 1.311 GB, free: 13.81 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 8.27e-05/0.3453, allocations: 113.8 kB / 1.311 GB, free: 13.69 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.886e-05/0.3454, allocations: 7.938 kB / 1.311 GB, free: 13.68 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001999/0.3456, allocations: 109.6 kB / 1.311 GB, free: 13.56 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3456, allocations: 4 kB / 1.311 GB, free: 13.56 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3456, allocations: 4 kB / 1.311 GB, free: 13.55 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-06/0.3456, allocations: 3.984 kB / 1.311 GB, free: 13.55 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000394/0.346, allocations: 325.7 kB / 1.312 GB, free: 13.18 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.346, allocations: 3.938 kB / 1.312 GB, free: 13.18 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.3461, allocations: 19.98 kB / 1.312 GB, free: 13.16 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.3461, allocations: 4 kB / 1.312 GB, free: 13.16 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.3461, allocations: 7.938 kB / 1.312 GB, free: 13.15 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.3461, allocations: 0 / 1.312 GB, free: 13.15 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3461, allocations: 0 / 1.312 GB, free: 13.15 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002658/0.3464, allocations: 219.5 kB / 1.312 GB, free: 12.92 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.913e-05/0.3464, allocations: 11.97 kB / 1.312 GB, free: 12.91 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.3464, allocations: 0 / 1.312 GB, free: 12.91 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.432e-05/0.3465, allocations: 8 kB / 1.312 GB, free: 12.9 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.686e-05/0.3465, allocations: 7.922 kB / 1.312 GB, free: 12.89 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.906e-06/0.3465, allocations: 4 kB / 1.312 GB, free: 12.89 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 4.605e-05/0.3466, allocations: 91.39 kB / 1.312 GB, free: 12.8 MB / 1.014 GB
Notification: Performance of sort global known variables: time 9e-08/0.3466, allocations: 4.062 kB / 1.312 GB, free: 12.79 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.000274/0.3468, allocations: 43.86 kB / 1.312 GB, free: 12.75 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.000237/0.3471, allocations: 139.9 kB / 1.312 GB, free: 12.61 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0001514/0.3472, allocations: 63.84 kB / 1.312 GB, free: 12.54 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3472, allocations: 0 / 1.312 GB, free: 12.54 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 4.683e-05/0.3473, allocations: 24 kB / 1.312 GB, free: 12.52 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002204/0.3475, allocations: 11.94 kB / 1.312 GB, free: 12.51 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003626/0.3479, allocations: 185.8 kB / 1.312 GB, free: 12.3 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.3482, allocations: 0.6884 MB / 1.313 GB, free: 11.59 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 4.787e-05/0.3482, allocations: 7.984 kB / 1.313 GB, free: 11.58 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.922e-05/0.3482, allocations: 15.44 kB / 1.313 GB, free: 11.56 MB / 1.014 GB
Notification: Performance of SimCode: time 2.9e-07/0.3482, allocations: 0 / 1.313 GB, free: 11.56 MB / 1.014 GB
Notification: Performance of Templates: time 0.004265/0.3525, allocations: 1.457 MB / 1.314 GB, free: 10.11 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.796657810918987]