Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.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.001833/0.001833, 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.002299/0.002299, allocations: 190.7 kB / 22.11 MB, free: 4.223 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.554/1.554, allocations: 225.6 MB / 250.8 MB, free: 2.699 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 3.021/3.021, allocations: 495.8 MB / 0.7831 GB, free: 12.23 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.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck")
translateModel(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002763/0.002763, allocations: 71.89 kB / 1.137 GB, free: 12.16 MB / 0.92 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.342/1.344, allocations: 173.6 MB / 1.307 GB, free: 33.76 MB / 1.061 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001937/1.346, allocations: 0.5336 MB / 1.307 GB, free: 33.43 MB / 1.061 GB
Notification: Performance of NFInst.instExpressions: time 0.0005437/1.347, allocations: 194.8 kB / 1.307 GB, free: 33.31 MB / 1.061 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.105e-05/1.347, allocations: 0 / 1.307 GB, free: 33.31 MB / 1.061 GB
Notification: Performance of NFTyping.typeComponents: time 3.36e-05/1.347, allocations: 3.938 kB / 1.307 GB, free: 33.3 MB / 1.061 GB
Notification: Performance of NFTyping.typeBindings: time 4.409e-05/1.347, allocations: 3.188 kB / 1.307 GB, free: 33.3 MB / 1.061 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0004563/1.348, allocations: 63.97 kB / 1.307 GB, free: 33.28 MB / 1.061 GB
Notification: Performance of NFFlatten.flatten: time 6.284e-05/1.348, allocations: 20.88 kB / 1.308 GB, free: 33.27 MB / 1.061 GB
Notification: Performance of NFFlatten.resolveConnections: time 5.162e-05/1.348, allocations: 2.906 kB / 1.308 GB, free: 33.27 MB / 1.061 GB
Notification: Performance of NFEvalConstants.evaluate: time 2.19e-05/1.348, allocations: 6.766 kB / 1.308 GB, free: 33.27 MB / 1.061 GB
Notification: Performance of NFSimplifyModel.simplify: time 3.065e-05/1.348, allocations: 10.03 kB / 1.308 GB, free: 33.26 MB / 1.061 GB
Notification: Performance of NFPackage.collectConstants: time 1.204e-05/1.348, allocations: 0 / 1.308 GB, free: 33.26 MB / 1.061 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002731/1.348, allocations: 163.9 kB / 1.308 GB, free: 33.21 MB / 1.061 GB
Notification: Performance of NFScalarize.scalarize: time 4.789e-05/1.348, allocations: 7.203 kB / 1.308 GB, free: 33.21 MB / 1.061 GB
Notification: Performance of NFVerifyModel.verify: time 2.443e-05/1.348, allocations: 11.09 kB / 1.308 GB, free: 33.2 MB / 1.061 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001551/1.348, allocations: 66.22 kB / 1.308 GB, free: 33.19 MB / 1.061 GB
Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/1.348, allocations: 4 kB / 1.308 GB, free: 33.18 MB / 1.061 GB
Notification: Performance of FrontEnd: time 1.533e-06/1.348, allocations: 3.938 kB / 1.308 GB, free: 33.18 MB / 1.061 GB
Notification: Performance of Transformations before backend: time 6.422e-06/1.348, allocations: 10.78 kB / 1.308 GB, free: 33.17 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.00033/1.349, allocations: 263.5 kB / 1.308 GB, free: 32.9 MB / 1.061 GB
Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/1.349, allocations: 8.406 kB / 1.308 GB, free: 32.9 MB / 1.061 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.395e-05/1.349, allocations: 7.312 kB / 1.308 GB, free: 32.9 MB / 1.061 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 8.52e-05/1.349, allocations: 113.2 kB / 1.308 GB, free: 32.77 MB / 1.061 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/1.349, allocations: 384 / 1.308 GB, free: 32.77 MB / 1.061 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/1.349, allocations: 3.219 kB / 1.308 GB, free: 32.77 MB / 1.061 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/1.349, allocations: 35.12 kB / 1.308 GB, free: 32.73 MB / 1.061 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/1.349, allocations: 8.172 kB / 1.308 GB, free: 32.73 MB / 1.061 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/1.349, allocations: 7.938 kB / 1.308 GB, free: 32.72 MB / 1.061 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/1.349, allocations: 2.844 kB / 1.308 GB, free: 32.72 MB / 1.061 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 2.5e-05/1.349, allocations: 8.625 kB / 1.308 GB, free: 32.72 MB / 1.061 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001324/1.349, allocations: 132.2 kB / 1.308 GB, free: 32.56 MB / 1.061 GB
Notification: Performance of preOpt comSubExp (simulation): time 4.713e-05/1.349, allocations: 24.42 kB / 1.308 GB, free: 32.54 MB / 1.061 GB
Notification: Performance of preOpt resolveLoops (simulation): time 1.781e-05/1.349, allocations: 14.59 kB / 1.308 GB, free: 32.53 MB / 1.061 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.833e-05/1.349, allocations: 2.906 kB / 1.308 GB, free: 32.53 MB / 1.061 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/1.349, allocations: 38.56 kB / 1.308 GB, free: 32.48 MB / 1.061 GB
Notification: Performance of pre-optimization done (n=2): time 8.31e-07/1.349, allocations: 3.938 kB / 1.308 GB, free: 32.48 MB / 1.061 GB
Notification: Performance of matching and sorting (n=3): time 0.0004927/1.35, allocations: 222.2 kB / 1.309 GB, free: 32.31 MB / 1.061 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/1.35, allocations: 51.41 kB / 1.309 GB, free: 32.25 MB / 1.061 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.871e-05/1.35, allocations: 107.5 kB / 1.309 GB, free: 32.14 MB / 1.061 GB
Notification: Performance of collectPreVariables (initialization): time 1.148e-05/1.35, allocations: 33.92 kB / 1.309 GB, free: 32.11 MB / 1.061 GB
Notification: Performance of collectInitialEqns (initialization): time 2.703e-05/1.35, allocations: 82.73 kB / 1.309 GB, free: 32.02 MB / 1.061 GB
Notification: Performance of collectInitialBindings (initialization): time 2.726e-05/1.35, allocations: 15.23 kB / 1.309 GB, free: 32.01 MB / 1.061 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.68e-05/1.35, allocations: 14.91 kB / 1.309 GB, free: 32 MB / 1.061 GB
Notification: Performance of setup shared object (initialization): time 6.276e-05/1.35, allocations: 314.8 kB / 1.309 GB, free: 31.68 MB / 1.061 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 2.451e-05/1.35, allocations: 18.56 kB / 1.309 GB, free: 31.68 MB / 1.061 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.011e-05/1.35, allocations: 24.91 kB / 1.309 GB, free: 31.66 MB / 1.061 GB
Notification: Performance of analyzeInitialSystem (initialization): time 4.947e-05/1.35, allocations: 44.97 kB / 1.309 GB, free: 31.63 MB / 1.061 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/1.35, allocations: 0 / 1.309 GB, free: 31.63 MB / 1.061 GB
Notification: Performance of matching and sorting (n=4) (initialization): time 7.936e-05/1.35, allocations: 66.66 kB / 1.309 GB, free: 31.59 MB / 1.061 GB
Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/1.35, allocations: 9.688 kB / 1.309 GB, free: 31.59 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/1.35, allocations: 0 / 1.309 GB, free: 31.59 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/1.35, allocations: 0 / 1.309 GB, free: 31.59 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.764e-05/1.35, allocations: 5.656 kB / 1.309 GB, free: 31.59 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/1.35, allocations: 6.359 kB / 1.309 GB, free: 31.59 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.54e-05/1.35, allocations: 4.062 kB / 1.309 GB, free: 31.59 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/1.35, allocations: 0 / 1.309 GB, free: 31.59 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 5.88e-05/1.35, allocations: 119.2 kB / 1.31 GB, free: 31.46 MB / 1.061 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.129e-05/1.35, allocations: 7.891 kB / 1.31 GB, free: 31.46 MB / 1.061 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001359/1.35, allocations: 74.12 kB / 1.31 GB, free: 31.4 MB / 1.061 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/1.35, allocations: 2.531 kB / 1.31 GB, free: 31.4 MB / 1.061 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/1.35, allocations: 3.938 kB / 1.31 GB, free: 31.4 MB / 1.061 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/1.35, allocations: 0 / 1.31 GB, free: 31.4 MB / 1.061 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.273e-05/1.35, allocations: 136.8 kB / 1.31 GB, free: 31.24 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/1.35, allocations: 4 kB / 1.31 GB, free: 31.24 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.788e-05/1.351, allocations: 8.766 kB / 1.31 GB, free: 31.24 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/1.351, allocations: 3.938 kB / 1.31 GB, free: 31.23 MB / 1.061 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/1.351, allocations: 0 / 1.31 GB, free: 31.23 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/1.351, allocations: 0 / 1.31 GB, free: 31.23 MB / 1.061 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/1.351, allocations: 2.531 kB / 1.31 GB, free: 31.23 MB / 1.061 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001345/1.351, allocations: 107.9 kB / 1.31 GB, free: 31.16 MB / 1.061 GB
Notification: Performance of postOpt removeConstants (simulation): time 8.155e-06/1.351, allocations: 6.547 kB / 1.31 GB, free: 31.15 MB / 1.061 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/1.351, allocations: 11.98 kB / 1.31 GB, free: 31.14 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.466e-05/1.351, allocations: 6.625 kB / 1.31 GB, free: 31.14 MB / 1.061 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.493e-05/1.351, allocations: 0 / 1.31 GB, free: 31.14 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-06/1.351, allocations: 2.719 kB / 1.31 GB, free: 31.14 MB / 1.061 GB
Notification: Performance of sorting global known variables: time 2.91e-05/1.351, allocations: 84.78 kB / 1.31 GB, free: 31.06 MB / 1.061 GB
Notification: Performance of sort global known variables: time 6e-08/1.351, allocations: 0 / 1.31 GB, free: 31.06 MB / 1.061 GB
Notification: Performance of remove unused functions: time 0.0002434/1.351, allocations: 27.78 kB / 1.31 GB, free: 31.05 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.0001523/1.351, allocations: 113.7 kB / 1.31 GB, free: 30.96 MB / 1.061 GB
Notification: Performance of simCode: created initialization part: time 0.0001118/1.351, allocations: 37.73 kB / 1.31 GB, free: 30.95 MB / 1.061 GB
Notification: Performance of simCode: created event and clocks part: time 2.205e-06/1.351, allocations: 0 / 1.31 GB, free: 30.95 MB / 1.061 GB
Notification: Performance of simCode: created simulation system equations: time 1.984e-05/1.351, allocations: 14.41 kB / 1.31 GB, free: 30.95 MB / 1.061 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001571/1.351, allocations: 11.08 kB / 1.31 GB, free: 30.95 MB / 1.061 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002908/1.352, allocations: 132.8 kB / 1.31 GB, free: 30.83 MB / 1.061 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001504/1.352, allocations: 0.6837 MB / 1.311 GB, free: 30.13 MB / 1.061 GB
Notification: Performance of simCode: alias equations: time 2.335e-05/1.352, allocations: 2.938 kB / 1.311 GB, free: 30.13 MB / 1.061 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.035e-05/1.352, allocations: 18.5 kB / 1.311 GB, free: 30.12 MB / 1.061 GB
Notification: Performance of SimCode: time 3.51e-07/1.352, allocations: 0 / 1.311 GB, free: 30.12 MB / 1.061 GB
Notification: Performance of Templates: time 0.003795/1.356, allocations: 0.9083 MB / 1.312 GB, free: 30.03 MB / 1.061 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & ./Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.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: 10.243586955592036]