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.001265/0.001265, 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.001399/0.001399, allocations: 189.9 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.315/1.315, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 179]
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.925/2.925, allocations: 496 MB / 0.7835 GB, free: 33.77 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-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.001887/0.001887, allocations: 61.97 kB / 1.138 GB, free: 33.8 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3433, allocations: 173.6 MB / 1.307 GB, free: 1.805 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001615/0.3449, allocations: 0.5452 MB / 1.308 GB, free: 1.262 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.0005091/0.3454, allocations: 191.8 kB / 1.308 GB, free: 1.074 MB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.094e-05/0.3455, allocations: 4 kB / 1.308 GB, free: 1.07 MB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 2.72e-05/0.3455, allocations: 0 / 1.308 GB, free: 1.07 MB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 4.272e-05/0.3455, allocations: 3.938 kB / 1.308 GB, free: 1.066 MB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0004/0.3459, allocations: 63.84 kB / 1.308 GB, free: 1.004 MB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 5.512e-05/0.346, allocations: 11.98 kB / 1.308 GB, free: 0.9922 MB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 3.917e-05/0.346, allocations: 8 kB / 1.308 GB, free: 0.9844 MB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 3.064e-05/0.3461, allocations: 3.984 kB / 1.308 GB, free: 0.9805 MB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 3.239e-05/0.3461, allocations: 11.92 kB / 1.308 GB, free: 0.9688 MB / 0.9981 GB
Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.3461, allocations: 0 / 1.308 GB, free: 0.9688 MB / 0.9981 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002782/0.3464, allocations: 171.7 kB / 1.308 GB, free: 0.8008 MB / 0.9981 GB
Notification: Performance of NFScalarize.scalarize: time 4.049e-05/0.3464, allocations: 7.984 kB / 1.308 GB, free: 0.793 MB / 0.9981 GB
Notification: Performance of NFVerifyModel.verify: time 2.727e-05/0.3464, allocations: 7.938 kB / 1.308 GB, free: 0.7852 MB / 0.9981 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001528/0.3466, allocations: 71.77 kB / 1.308 GB, free: 0.7148 MB / 0.9981 GB
Notification: Performance of FrontEnd - DAE generated: time 4.237e-06/0.3466, allocations: 0 / 1.308 GB, free: 0.7148 MB / 0.9981 GB
Notification: Performance of FrontEnd: time 1.472e-06/0.3466, allocations: 0 / 1.308 GB, free: 0.7148 MB / 0.9981 GB
Notification: Performance of Transformations before backend: time 4.157e-06/0.3466, allocations: 0 / 1.308 GB, free: 0.7148 MB / 0.9981 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.0003267/0.3469, allocations: 266.2 kB / 1.309 GB, free: 432 kB / 0.9981 GB
Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.347, allocations: 12.03 kB / 1.309 GB, free: 420 kB / 0.9981 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 2.878e-05/0.347, allocations: 0.9375 kB / 1.309 GB, free: 420 kB / 0.9981 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.3471, allocations: 118.4 kB / 1.309 GB, free: 276 kB / 0.9981 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.3471, allocations: 384 / 1.309 GB, free: 276 kB / 0.9981 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/0.3471, allocations: 4.375 kB / 1.309 GB, free: 272 kB / 0.9981 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 9.479e-05/0.3472, allocations: 38.25 kB / 1.309 GB, free: 228 kB / 0.9981 GB
Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.3472, allocations: 192 / 1.309 GB, free: 228 kB / 0.9981 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.3472, allocations: 7.938 kB / 1.309 GB, free: 220 kB / 0.9981 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.3473, allocations: 4 kB / 1.309 GB, free: 216 kB / 0.9981 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 2.386e-05/0.3473, allocations: 8 kB / 1.309 GB, free: 208 kB / 0.9981 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001541/0.3474, allocations: 128.8 kB / 1.309 GB, free: 36 kB / 0.9981 GB
Notification: Performance of preOpt comSubExp (simulation): time 7.292e-05/0.3475, allocations: 30.5 kB / 1.309 GB, free: 16 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 2.189e-05/0.3475, allocations: 12.92 kB / 1.309 GB, free: 15.98 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.43e-05/0.3476, allocations: 7.938 kB / 1.309 GB, free: 15.97 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.3476, allocations: 34.56 kB / 1.309 GB, free: 15.93 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.3476, allocations: 0 / 1.309 GB, free: 15.93 MB / 1.014 GB
Notification: Performance of matching and sorting (n=3): time 0.0004925/0.3481, allocations: 225.1 kB / 1.309 GB, free: 15.68 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.3481, allocations: 59.34 kB / 1.309 GB, free: 15.61 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.349e-05/0.3482, allocations: 109.8 kB / 1.309 GB, free: 15.49 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.3482, allocations: 25.7 kB / 1.309 GB, free: 15.46 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 3.936e-05/0.3483, allocations: 80.36 kB / 1.309 GB, free: 15.38 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.697e-05/0.3483, allocations: 23.89 kB / 1.309 GB, free: 15.35 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.747e-05/0.3483, allocations: 13.72 kB / 1.309 GB, free: 15.33 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001435/0.3485, allocations: 314.8 kB / 1.31 GB, free: 15.02 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 2.357e-05/0.3485, allocations: 11.98 kB / 1.31 GB, free: 15 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.55e-05/0.3485, allocations: 29.66 kB / 1.31 GB, free: 14.97 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 5.853e-05/0.3486, allocations: 41.7 kB / 1.31 GB, free: 14.92 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.3486, allocations: 0 / 1.31 GB, free: 14.92 MB / 1.014 GB
Notification: Performance of matching and sorting (n=4) (initialization): time 9.494e-05/0.3487, allocations: 69.61 kB / 1.31 GB, free: 14.85 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.3487, allocations: 11.94 kB / 1.31 GB, free: 14.84 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.3487, allocations: 0 / 1.31 GB, free: 14.84 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.3487, allocations: 0 / 1.31 GB, free: 14.84 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.457e-05/0.3488, allocations: 8 kB / 1.31 GB, free: 14.83 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.3488, allocations: 0 / 1.31 GB, free: 14.83 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.294e-05/0.3488, allocations: 0 / 1.31 GB, free: 14.83 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.3488, allocations: 4 kB / 1.31 GB, free: 14.82 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 7.79e-05/0.3489, allocations: 117.8 kB / 1.31 GB, free: 14.7 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.59e-05/0.3489, allocations: 15.88 kB / 1.31 GB, free: 14.68 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001373/0.349, allocations: 73.73 kB / 1.31 GB, free: 14.6 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.349, allocations: 0 / 1.31 GB, free: 14.6 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.349, allocations: 4 kB / 1.31 GB, free: 14.59 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.349, allocations: 0 / 1.31 GB, free: 14.59 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001081/0.3491, allocations: 136.8 kB / 1.31 GB, free: 14.42 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.3491, allocations: 0 / 1.31 GB, free: 14.42 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.184e-05/0.3492, allocations: 8 kB / 1.31 GB, free: 14.41 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.3492, allocations: 7.922 kB / 1.31 GB, free: 14.4 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.3492, allocations: 0 / 1.31 GB, free: 14.4 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3492, allocations: 3.938 kB / 1.31 GB, free: 14.4 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3492, allocations: 4 kB / 1.31 GB, free: 14.39 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001672/0.3494, allocations: 101 kB / 1.31 GB, free: 14.28 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.306e-05/0.3494, allocations: 11.98 kB / 1.31 GB, free: 14.27 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.116e-05/0.3494, allocations: 3.938 kB / 1.31 GB, free: 14.26 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.233e-05/0.3494, allocations: 4.062 kB / 1.31 GB, free: 14.26 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.354e-05/0.3494, allocations: 3.984 kB / 1.31 GB, free: 14.25 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-06/0.3494, allocations: 4 kB / 1.31 GB, free: 14.25 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 4.902e-05/0.3495, allocations: 83.28 kB / 1.311 GB, free: 14.17 MB / 1.014 GB
Notification: Performance of sort global known variables: time 7e-08/0.3495, allocations: 4 kB / 1.311 GB, free: 14.16 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002118/0.3497, allocations: 23.92 kB / 1.311 GB, free: 14.14 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.0001608/0.3499, allocations: 112 kB / 1.311 GB, free: 14.02 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0001012/0.35, allocations: 35.98 kB / 1.311 GB, free: 13.99 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.35, allocations: 4.062 kB / 1.311 GB, free: 13.98 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 2.294e-05/0.35, allocations: 19.92 kB / 1.311 GB, free: 13.96 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001426/0.3501, allocations: 6.344 kB / 1.311 GB, free: 13.96 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002766/0.3504, allocations: 137.4 kB / 1.311 GB, free: 13.8 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002794/0.3507, allocations: 0.6807 MB / 1.312 GB, free: 13.09 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 2.078e-05/0.3507, allocations: 0.5469 kB / 1.312 GB, free: 13.09 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.787e-05/0.3507, allocations: 11.44 kB / 1.312 GB, free: 13.08 MB / 1.014 GB
Notification: Performance of SimCode: time 3.01e-07/0.3507, allocations: 4 kB / 1.312 GB, free: 13.08 MB / 1.014 GB
Notification: Performance of Templates: time 0.003527/0.3543, allocations: 0.9059 MB / 1.312 GB, free: 12.17 MB / 1.014 GB
"
[Timeout remaining time 300]
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: 8.239247464574873]