Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001652/0.001652, allocations: 110.2 kB / 18.93 MB, free: 2.945 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.001998/0.001998, allocations: 192 kB / 22.23 MB, free: 5.16 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.588/1.588, 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 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.932/2.932, allocations: 476.7 MB / 0.7646 GB, free: 9.867 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 71.83 kB / 1.11 GB, free: 6.324 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.166/1.168, allocations: 168.8 MB / 1.274 GB, free: 4.16 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001849/1.169, allocations: 0.5235 MB / 1.275 GB, free: 3.641 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.0006055/1.17, allocations: 195.3 kB / 1.275 GB, free: 3.449 MB / 0.9669 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.019e-05/1.17, allocations: 7.938 kB / 1.275 GB, free: 3.441 MB / 0.9669 GB
Notification: Performance of NFTyping.typeComponents: time 3.747e-05/1.17, allocations: 0 / 1.275 GB, free: 3.441 MB / 0.9669 GB
Notification: Performance of NFTyping.typeBindings: time 4.036e-05/1.17, allocations: 0 / 1.275 GB, free: 3.441 MB / 0.9669 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0004511/1.171, allocations: 75.72 kB / 1.275 GB, free: 3.367 MB / 0.9669 GB
Notification: Performance of NFFlatten.flatten: time 6.624e-05/1.171, allocations: 15.98 kB / 1.275 GB, free: 3.352 MB / 0.9669 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.874e-05/1.171, allocations: 0 / 1.275 GB, free: 3.352 MB / 0.9669 GB
Notification: Performance of NFEvalConstants.evaluate: time 2.404e-05/1.171, allocations: 7.984 kB / 1.275 GB, free: 3.344 MB / 0.9669 GB
Notification: Performance of NFSimplifyModel.simplify: time 2.676e-05/1.171, allocations: 3.938 kB / 1.275 GB, free: 3.34 MB / 0.9669 GB
Notification: Performance of NFPackage.collectConstants: time 1.5e-05/1.171, allocations: 4 kB / 1.275 GB, free: 3.336 MB / 0.9669 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0003199/1.171, allocations: 171.7 kB / 1.275 GB, free: 3.168 MB / 0.9669 GB
Notification: Performance of NFScalarize.scalarize: time 5.151e-05/1.171, allocations: 12 kB / 1.275 GB, free: 3.156 MB / 0.9669 GB
Notification: Performance of NFVerifyModel.verify: time 2.613e-05/1.171, allocations: 7.922 kB / 1.275 GB, free: 3.148 MB / 0.9669 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001798/1.171, allocations: 74.5 kB / 1.275 GB, free: 3.078 MB / 0.9669 GB
Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/1.171, allocations: 0 / 1.275 GB, free: 3.078 MB / 0.9669 GB
Notification: Performance of FrontEnd: time 1.853e-06/1.171, allocations: 0 / 1.275 GB, free: 3.078 MB / 0.9669 GB
Notification: Performance of Transformations before backend: time 5.45e-06/1.171, allocations: 0 / 1.275 GB, free: 3.078 MB / 0.9669 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.0003718/1.172, allocations: 265.9 kB / 1.276 GB, free: 2.789 MB / 0.9669 GB
Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/1.172, allocations: 8.031 kB / 1.276 GB, free: 2.781 MB / 0.9669 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.209e-05/1.172, allocations: 4.938 kB / 1.276 GB, free: 2.777 MB / 0.9669 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/1.172, allocations: 110.4 kB / 1.276 GB, free: 2.645 MB / 0.9669 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/1.172, allocations: 8.375 kB / 1.276 GB, free: 2.637 MB / 0.9669 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.548e-05/1.172, allocations: 384 / 1.276 GB, free: 2.637 MB / 0.9669 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001155/1.172, allocations: 46.25 kB / 1.276 GB, free: 2.586 MB / 0.9669 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/1.172, allocations: 4.125 kB / 1.276 GB, free: 2.582 MB / 0.9669 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/1.172, allocations: 3.938 kB / 1.276 GB, free: 2.578 MB / 0.9669 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/1.172, allocations: 0 / 1.276 GB, free: 2.578 MB / 0.9669 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 3.389e-05/1.172, allocations: 11.98 kB / 1.276 GB, free: 2.566 MB / 0.9669 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000178/1.172, allocations: 132.7 kB / 1.276 GB, free: 2.395 MB / 0.9669 GB
Notification: Performance of preOpt comSubExp (simulation): time 6.087e-05/1.172, allocations: 26.61 kB / 1.276 GB, free: 2.359 MB / 0.9669 GB
Notification: Performance of preOpt resolveLoops (simulation): time 2.933e-05/1.172, allocations: 16.91 kB / 1.276 GB, free: 2.34 MB / 0.9669 GB
Notification: Performance of preOpt evalFunc (simulation): time 4.371e-05/1.172, allocations: 4 kB / 1.276 GB, free: 2.336 MB / 0.9669 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/1.172, allocations: 34.56 kB / 1.276 GB, free: 2.293 MB / 0.9669 GB
Notification: Performance of pre-optimization done (n=2): time 1.052e-06/1.172, allocations: 0 / 1.276 GB, free: 2.293 MB / 0.9669 GB
Notification: Performance of matching and sorting (n=3): time 0.0005925/1.173, allocations: 233.3 kB / 1.276 GB, free: 2.031 MB / 0.9669 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/1.173, allocations: 55.41 kB / 1.276 GB, free: 1.965 MB / 0.9669 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.496e-05/1.173, allocations: 105.8 kB / 1.276 GB, free: 1.852 MB / 0.9669 GB
Notification: Performance of collectPreVariables (initialization): time 1.942e-05/1.173, allocations: 25.7 kB / 1.276 GB, free: 1.82 MB / 0.9669 GB
Notification: Performance of collectInitialEqns (initialization): time 5.278e-05/1.173, allocations: 84.14 kB / 1.277 GB, free: 1.734 MB / 0.9669 GB
Notification: Performance of collectInitialBindings (initialization): time 2.478e-05/1.173, allocations: 11.91 kB / 1.277 GB, free: 1.723 MB / 0.9669 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.392e-05/1.173, allocations: 17.7 kB / 1.277 GB, free: 1.699 MB / 0.9669 GB
Notification: Performance of setup shared object (initialization): time 0.0001311/1.173, allocations: 314.8 kB / 1.277 GB, free: 1.383 MB / 0.9669 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 2.466e-05/1.173, allocations: 16 kB / 1.277 GB, free: 1.367 MB / 0.9669 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.822e-05/1.174, allocations: 25.7 kB / 1.277 GB, free: 1.336 MB / 0.9669 GB
Notification: Performance of analyzeInitialSystem (initialization): time 6.115e-05/1.174, allocations: 41.7 kB / 1.277 GB, free: 1.289 MB / 0.9669 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/1.174, allocations: 7.875 kB / 1.277 GB, free: 1.281 MB / 0.9669 GB
Notification: Performance of matching and sorting (n=4) (initialization): time 9.444e-05/1.174, allocations: 61.69 kB / 1.277 GB, free: 1.215 MB / 0.9669 GB
Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/1.174, allocations: 8 kB / 1.277 GB, free: 1.207 MB / 0.9669 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/1.174, allocations: 4 kB / 1.277 GB, free: 1.203 MB / 0.9669 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/1.174, allocations: 4 kB / 1.277 GB, free: 1.199 MB / 0.9669 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.011e-05/1.174, allocations: 7.984 kB / 1.277 GB, free: 1.191 MB / 0.9669 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/1.174, allocations: 3.938 kB / 1.277 GB, free: 1.188 MB / 0.9669 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.361e-05/1.174, allocations: 0 / 1.277 GB, free: 1.188 MB / 0.9669 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/1.174, allocations: 4 kB / 1.277 GB, free: 1.184 MB / 0.9669 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 8.46e-05/1.174, allocations: 113.8 kB / 1.277 GB, free: 1.062 MB / 0.9669 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.565e-05/1.174, allocations: 7.891 kB / 1.277 GB, free: 1.055 MB / 0.9669 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001419/1.174, allocations: 69.67 kB / 1.277 GB, free: 0.9766 MB / 0.9669 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/1.174, allocations: 4 kB / 1.277 GB, free: 0.9727 MB / 0.9669 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/1.174, allocations: 0 / 1.277 GB, free: 0.9727 MB / 0.9669 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/1.174, allocations: 0 / 1.277 GB, free: 0.9727 MB / 0.9669 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/1.174, allocations: 136.7 kB / 1.277 GB, free: 0.7969 MB / 0.9669 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/1.174, allocations: 0 / 1.277 GB, free: 0.7969 MB / 0.9669 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.568e-05/1.174, allocations: 7.938 kB / 1.277 GB, free: 0.7891 MB / 0.9669 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/1.174, allocations: 3.938 kB / 1.277 GB, free: 0.7852 MB / 0.9669 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-06/1.174, allocations: 11.94 kB / 1.277 GB, free: 0.7734 MB / 0.9669 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/1.174, allocations: 0 / 1.277 GB, free: 0.7734 MB / 0.9669 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/1.174, allocations: 0 / 1.277 GB, free: 0.7734 MB / 0.9669 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001734/1.174, allocations: 113.1 kB / 1.277 GB, free: 0.6445 MB / 0.9669 GB
Notification: Performance of postOpt removeConstants (simulation): time 7.955e-06/1.174, allocations: 3.953 kB / 1.277 GB, free: 0.6406 MB / 0.9669 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/1.174, allocations: 3.938 kB / 1.277 GB, free: 0.6367 MB / 0.9669 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.355e-05/1.175, allocations: 0 / 1.277 GB, free: 0.6367 MB / 0.9669 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.156e-05/1.175, allocations: 4 kB / 1.277 GB, free: 0.6328 MB / 0.9669 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/1.175, allocations: 0 / 1.277 GB, free: 0.6328 MB / 0.9669 GB
Notification: Performance of sorting global known variables: time 5.893e-05/1.175, allocations: 91.27 kB / 1.278 GB, free: 0.543 MB / 0.9669 GB
Notification: Performance of sort global known variables: time 9e-08/1.175, allocations: 4.062 kB / 1.278 GB, free: 0.5391 MB / 0.9669 GB
Notification: Performance of remove unused functions: time 0.0002025/1.175, allocations: 19.94 kB / 1.278 GB, free: 0.5195 MB / 0.9669 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.000186/1.175, allocations: 115.2 kB / 1.278 GB, free: 408 kB / 0.9669 GB
Notification: Performance of simCode: created initialization part: time 0.0001095/1.175, allocations: 35.91 kB / 1.278 GB, free: 372 kB / 0.9669 GB
Notification: Performance of simCode: created event and clocks part: time 2.775e-06/1.175, allocations: 0 / 1.278 GB, free: 372 kB / 0.9669 GB
Notification: Performance of simCode: created simulation system equations: time 2.114e-05/1.175, allocations: 12 kB / 1.278 GB, free: 360 kB / 0.9669 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001497/1.175, allocations: 11.94 kB / 1.278 GB, free: 348 kB / 0.9669 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002827/1.176, allocations: 141.5 kB / 1.278 GB, free: 180 kB / 0.9669 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/1.176, allocations: 0.6807 MB / 1.279 GB, free: 15.47 MB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 2.802e-05/1.176, allocations: 12.47 kB / 1.279 GB, free: 15.46 MB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.676e-05/1.176, allocations: 7.438 kB / 1.279 GB, free: 15.45 MB / 0.9825 GB
Notification: Performance of SimCode: time 3.3e-07/1.176, allocations: 3.938 kB / 1.279 GB, free: 15.45 MB / 0.9825 GB
Notification: Performance of Templates: time 0.003816/1.18, allocations: 0.9114 MB / 1.279 GB, free: 14.54 MB / 0.9825 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & ./Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.880897207185626]