Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001495/0.001495, allocations: 112.7 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.001601/0.001601, allocations: 190.3 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.318/1.318, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
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 2.891/2.891, allocations: 0.4893 GB / 0.7884 GB, free: 33.11 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.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 65.45 kB / 1.145 GB, free: 30.68 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.2985, allocations: 174.9 MB / 1.316 GB, free: 9.699 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001651/0.3002, allocations: 0.5269 MB / 1.317 GB, free: 9.176 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.0004849/0.3007, allocations: 199.8 kB / 1.317 GB, free: 8.98 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 1.732e-05/0.3007, allocations: 0 / 1.317 GB, free: 8.98 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 2.878e-05/0.3007, allocations: 0 / 1.317 GB, free: 8.98 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 3.081e-05/0.3007, allocations: 0 / 1.317 GB, free: 8.98 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003893/0.3011, allocations: 67.78 kB / 1.317 GB, free: 8.914 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 5.081e-05/0.3012, allocations: 11.98 kB / 1.317 GB, free: 8.902 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.045e-05/0.3012, allocations: 4 kB / 1.317 GB, free: 8.898 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 1.964e-05/0.3012, allocations: 11.92 kB / 1.317 GB, free: 8.887 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 2.999e-05/0.3013, allocations: 11.98 kB / 1.317 GB, free: 8.875 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 1.086e-05/0.3013, allocations: 0 / 1.317 GB, free: 8.875 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002912/0.3016, allocations: 163.7 kB / 1.317 GB, free: 8.715 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 3.836e-05/0.3016, allocations: 7.984 kB / 1.317 GB, free: 8.707 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 2.188e-05/0.3016, allocations: 7.938 kB / 1.317 GB, free: 8.699 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001622/0.3018, allocations: 75.77 kB / 1.317 GB, free: 8.625 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3018, allocations: 0 / 1.317 GB, free: 8.625 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.473e-06/0.3018, allocations: 0 / 1.317 GB, free: 8.625 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 4.188e-06/0.3018, allocations: 0 / 1.317 GB, free: 8.625 MB / 1.014 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.0003471/0.3022, allocations: 266.2 kB / 1.317 GB, free: 8.332 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.3022, allocations: 8.031 kB / 1.317 GB, free: 8.324 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 2.982e-05/0.3022, allocations: 4.938 kB / 1.317 GB, free: 8.32 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.3023, allocations: 114.5 kB / 1.317 GB, free: 8.184 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.647e-06/0.3024, allocations: 4.359 kB / 1.317 GB, free: 8.18 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.3024, allocations: 8.312 kB / 1.317 GB, free: 8.172 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.3025, allocations: 38.2 kB / 1.317 GB, free: 8.129 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.3025, allocations: 192 / 1.317 GB, free: 8.129 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.3025, allocations: 3.938 kB / 1.317 GB, free: 8.125 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.3025, allocations: 4 kB / 1.317 GB, free: 8.121 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 2.53e-05/0.3025, allocations: 11.98 kB / 1.317 GB, free: 8.109 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001629/0.3027, allocations: 132.8 kB / 1.318 GB, free: 7.938 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 5.197e-05/0.3027, allocations: 22.58 kB / 1.318 GB, free: 7.906 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 2.508e-05/0.3028, allocations: 16.91 kB / 1.318 GB, free: 7.887 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.432e-05/0.3028, allocations: 7.938 kB / 1.318 GB, free: 7.879 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.3028, allocations: 34.56 kB / 1.318 GB, free: 7.836 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.3028, allocations: 3.938 kB / 1.318 GB, free: 7.832 MB / 1.014 GB
Notification: Performance of matching and sorting (n=3): time 0.000474/0.3033, allocations: 229.1 kB / 1.318 GB, free: 7.574 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.3033, allocations: 51.41 kB / 1.318 GB, free: 7.512 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.228e-05/0.3034, allocations: 109.8 kB / 1.318 GB, free: 7.395 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.3034, allocations: 29.7 kB / 1.318 GB, free: 7.359 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 5.053e-05/0.3035, allocations: 84.36 kB / 1.318 GB, free: 7.273 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.3035, allocations: 11.91 kB / 1.318 GB, free: 7.262 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.219e-05/0.3035, allocations: 21.7 kB / 1.318 GB, free: 7.234 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001348/0.3037, allocations: 314.8 kB / 1.319 GB, free: 6.918 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 2.6e-05/0.3037, allocations: 15.98 kB / 1.319 GB, free: 6.902 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.13e-05/0.3037, allocations: 21.72 kB / 1.319 GB, free: 6.875 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 6.915e-05/0.3038, allocations: 45.64 kB / 1.319 GB, free: 6.824 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.3038, allocations: 0 / 1.319 GB, free: 6.824 MB / 1.014 GB
Notification: Performance of matching and sorting (n=4) (initialization): time 9.28e-05/0.3039, allocations: 65.64 kB / 1.319 GB, free: 6.754 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.3039, allocations: 7.938 kB / 1.319 GB, free: 6.746 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.3039, allocations: 4 kB / 1.319 GB, free: 6.742 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.3039, allocations: 7.922 kB / 1.319 GB, free: 6.734 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.041e-05/0.304, allocations: 4 kB / 1.319 GB, free: 6.73 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.304, allocations: 4 kB / 1.319 GB, free: 6.727 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.835e-05/0.304, allocations: 4 kB / 1.319 GB, free: 6.723 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.304, allocations: 0 / 1.319 GB, free: 6.723 MB / 1.014 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 9.416e-05/0.3041, allocations: 114.8 kB / 1.319 GB, free: 6.602 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.202e-05/0.3041, allocations: 3.938 kB / 1.319 GB, free: 6.598 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001306/0.3042, allocations: 81.61 kB / 1.319 GB, free: 6.5 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.3042, allocations: 0 / 1.319 GB, free: 6.5 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.3042, allocations: 3.938 kB / 1.319 GB, free: 6.496 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.3042, allocations: 3.984 kB / 1.319 GB, free: 6.492 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001223/0.3044, allocations: 132.8 kB / 1.319 GB, free: 6.32 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.3044, allocations: 0 / 1.319 GB, free: 6.32 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.395e-05/0.3044, allocations: 8 kB / 1.319 GB, free: 6.312 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.3044, allocations: 7.938 kB / 1.319 GB, free: 6.305 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-06/0.3044, allocations: 0 / 1.319 GB, free: 6.305 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3044, allocations: 0 / 1.319 GB, free: 6.305 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.3044, allocations: 3.984 kB / 1.319 GB, free: 6.301 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001479/0.3046, allocations: 109.2 kB / 1.319 GB, free: 6.176 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 5.6e-06/0.3046, allocations: 0 / 1.319 GB, free: 6.176 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.3046, allocations: 7.969 kB / 1.319 GB, free: 6.168 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.149e-05/0.3046, allocations: 64 / 1.319 GB, free: 6.168 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.646e-05/0.3047, allocations: 7.984 kB / 1.319 GB, free: 6.16 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.3047, allocations: 0 / 1.319 GB, free: 6.16 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 6.038e-05/0.3047, allocations: 95.2 kB / 1.319 GB, free: 6.066 MB / 1.014 GB
Notification: Performance of sort global known variables: time 6e-08/0.3047, allocations: 0 / 1.319 GB, free: 6.066 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002077/0.3049, allocations: 27.86 kB / 1.319 GB, free: 6.039 MB / 1.014 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.000165/0.3051, allocations: 115.8 kB / 1.319 GB, free: 5.918 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 9.085e-05/0.3052, allocations: 27.98 kB / 1.319 GB, free: 5.891 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3052, allocations: 4.125 kB / 1.319 GB, free: 5.887 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 2.68e-05/0.3052, allocations: 19.94 kB / 1.319 GB, free: 5.867 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001269/0.3053, allocations: 1.875 kB / 1.319 GB, free: 5.867 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002392/0.3056, allocations: 133.4 kB / 1.32 GB, free: 5.711 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002996/0.3059, allocations: 0.6846 MB / 1.32 GB, free: 5 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 2.24e-05/0.3059, allocations: 4 kB / 1.32 GB, free: 4.996 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.748e-05/0.3059, allocations: 7.438 kB / 1.32 GB, free: 4.988 MB / 1.014 GB
Notification: Performance of SimCode: time 3.21e-07/0.3059, allocations: 4 kB / 1.32 GB, free: 4.984 MB / 1.014 GB
Notification: Performance of Templates: time 0.003271/0.3092, allocations: 0.9195 MB / 1.321 GB, free: 4.07 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 7.933046048507094]