Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.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.001425/0.001425, allocations: 110 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.001506/0.001506, allocations: 190.2 kB / 22.23 MB, free: 5.156 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.55/1.55, allocations: 225.6 MB / 251 MB, free: 13.01 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.938/2.938, allocations: 476.7 MB / 0.7646 GB, free: 9.863 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.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_11_Buildings.Media.Examples.AirDerivativeCheck")
translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_11_Buildings.Media.Examples.AirDerivativeCheck") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002183/0.002183, allocations: 67.89 kB / 1.109 GB, free: 6.312 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.9305/0.9326, allocations: 168.8 MB / 1.274 GB, free: 4.133 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002645/0.9353, allocations: 1.334 MB / 1.276 GB, free: 2.789 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.233/1.168, allocations: 148.6 MB / 1.421 GB, free: 13.65 MB / 1.123 GB
Notification: Performance of NFInst.updateImplicitVariability: time 8.416e-05/1.168, allocations: 0 / 1.421 GB, free: 13.65 MB / 1.123 GB
Notification: Performance of NFTyping.typeComponents: time 7.408e-05/1.168, allocations: 3.984 kB / 1.421 GB, free: 13.64 MB / 1.123 GB
Notification: Performance of NFTyping.typeBindings: time 0.000158/1.169, allocations: 19.86 kB / 1.421 GB, free: 13.62 MB / 1.123 GB
Notification: Performance of NFTyping.typeClassSections: time 0.00135/1.17, allocations: 334.6 kB / 1.421 GB, free: 13.3 MB / 1.123 GB
Notification: Performance of NFFlatten.flatten: time 0.0001524/1.17, allocations: 63.77 kB / 1.421 GB, free: 13.23 MB / 1.123 GB
Notification: Performance of NFFlatten.resolveConnections: time 5.797e-05/1.17, allocations: 11.92 kB / 1.421 GB, free: 13.22 MB / 1.123 GB
Notification: Performance of NFEvalConstants.evaluate: time 5.515e-05/1.17, allocations: 27.97 kB / 1.421 GB, free: 13.2 MB / 1.123 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/1.17, allocations: 43.83 kB / 1.421 GB, free: 13.15 MB / 1.123 GB
Notification: Performance of NFPackage.collectConstants: time 1.837e-05/1.17, allocations: 4 kB / 1.421 GB, free: 13.15 MB / 1.123 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.001055/1.171, allocations: 438.5 kB / 1.422 GB, free: 12.72 MB / 1.123 GB
Notification: Performance of NFScalarize.scalarize: time 6.935e-05/1.171, allocations: 11.98 kB / 1.422 GB, free: 12.71 MB / 1.123 GB
Notification: Performance of NFVerifyModel.verify: time 5.358e-05/1.172, allocations: 31.84 kB / 1.422 GB, free: 12.68 MB / 1.123 GB
Notification: Performance of NFConvertDAE.convert: time 0.0003739/1.172, allocations: 158.2 kB / 1.422 GB, free: 12.53 MB / 1.123 GB
Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/1.172, allocations: 0 / 1.422 GB, free: 12.53 MB / 1.123 GB
Notification: Performance of FrontEnd: time 1.964e-06/1.172, allocations: 0 / 1.422 GB, free: 12.53 MB / 1.123 GB
Notification: Performance of Transformations before backend: time 6.492e-06/1.172, allocations: 3.938 kB / 1.422 GB, free: 12.53 MB / 1.123 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 12
 * Number of variables: 12
Notification: Performance of Generate backend data structure: time 0.000589/1.173, allocations: 321.9 kB / 1.422 GB, free: 12.18 MB / 1.123 GB
Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/1.173, allocations: 8.031 kB / 1.422 GB, free: 12.18 MB / 1.123 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004625/1.173, allocations: 36.91 kB / 1.422 GB, free: 12.14 MB / 1.123 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/1.173, allocations: 110.5 kB / 1.422 GB, free: 12.01 MB / 1.123 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/1.173, allocations: 11.94 kB / 1.422 GB, free: 12 MB / 1.123 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.997e-05/1.173, allocations: 15.94 kB / 1.422 GB, free: 11.98 MB / 1.123 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002302/1.173, allocations: 69.66 kB / 1.422 GB, free: 11.91 MB / 1.123 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/1.173, allocations: 4 kB / 1.422 GB, free: 11.9 MB / 1.123 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.97e-05/1.173, allocations: 8 kB / 1.422 GB, free: 11.89 MB / 1.123 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/1.173, allocations: 0 / 1.422 GB, free: 11.89 MB / 1.123 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001125/1.174, allocations: 51.89 kB / 1.422 GB, free: 11.84 MB / 1.123 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002664/1.174, allocations: 160.6 kB / 1.423 GB, free: 11.64 MB / 1.123 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002164/1.174, allocations: 82.59 kB / 1.423 GB, free: 11.55 MB / 1.123 GB
Notification: Performance of preOpt resolveLoops (simulation): time 6.273e-05/1.174, allocations: 28.94 kB / 1.423 GB, free: 11.52 MB / 1.123 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001998/1.174, allocations: 27.97 kB / 1.423 GB, free: 11.5 MB / 1.123 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.556e-05/1.174, allocations: 38.56 kB / 1.423 GB, free: 11.45 MB / 1.123 GB
Notification: Performance of pre-optimization done (n=12): time 1.313e-06/1.174, allocations: 0 / 1.423 GB, free: 11.45 MB / 1.123 GB
Notification: Performance of matching and sorting (n=19): time 0.001413/1.176, allocations: 479.2 kB / 1.423 GB, free: 10.95 MB / 1.123 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/1.176, allocations: 51.41 kB / 1.423 GB, free: 10.89 MB / 1.123 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.21e-05/1.176, allocations: 105.8 kB / 1.423 GB, free: 10.77 MB / 1.123 GB
Notification: Performance of collectPreVariables (initialization): time 3.53e-05/1.176, allocations: 29.7 kB / 1.423 GB, free: 10.74 MB / 1.123 GB
Notification: Performance of collectInitialEqns (initialization): time 4.076e-05/1.176, allocations: 84.52 kB / 1.423 GB, free: 10.65 MB / 1.123 GB
Notification: Performance of collectInitialBindings (initialization): time 7.555e-05/1.176, allocations: 71.33 kB / 1.424 GB, free: 10.58 MB / 1.123 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-05/1.176, allocations: 45.83 kB / 1.424 GB, free: 10.53 MB / 1.123 GB
Notification: Performance of setup shared object (initialization): time 0.000161/1.176, allocations: 318.8 kB / 1.424 GB, free: 10.21 MB / 1.123 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 7.075e-05/1.176, allocations: 35.98 kB / 1.424 GB, free: 10.18 MB / 1.123 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/1.176, allocations: 76.81 kB / 1.424 GB, free: 10.09 MB / 1.123 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/1.177, allocations: 115.3 kB / 1.424 GB, free: 9.965 MB / 1.123 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/1.177, allocations: 4 kB / 1.424 GB, free: 9.961 MB / 1.123 GB
Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002477/1.177, allocations: 157.5 kB / 1.424 GB, free: 9.801 MB / 1.123 GB
Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/1.177, allocations: 10.03 kB / 1.424 GB, free: 9.793 MB / 1.123 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/1.177, allocations: 3.984 kB / 1.424 GB, free: 9.789 MB / 1.123 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/1.177, allocations: 4 kB / 1.424 GB, free: 9.785 MB / 1.123 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/1.177, allocations: 31.98 kB / 1.424 GB, free: 9.754 MB / 1.123 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/1.177, allocations: 4 kB / 1.424 GB, free: 9.75 MB / 1.123 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.276e-05/1.177, allocations: 7.938 kB / 1.424 GB, free: 9.742 MB / 1.123 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/1.177, allocations: 11.94 kB / 1.424 GB, free: 9.73 MB / 1.123 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 4
 * 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 (24):
 * Single equations (assignments): 24
 * 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 0.0001225/1.177, allocations: 123.8 kB / 1.424 GB, free: 9.602 MB / 1.123 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.255e-05/1.177, allocations: 7.953 kB / 1.424 GB, free: 9.594 MB / 1.123 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.196e-05/1.177, allocations: 20.45 kB / 1.424 GB, free: 9.574 MB / 1.123 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/1.177, allocations: 4 kB / 1.424 GB, free: 9.57 MB / 1.123 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/1.177, allocations: 3.938 kB / 1.424 GB, free: 9.566 MB / 1.123 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/1.177, allocations: 7.922 kB / 1.424 GB, free: 9.559 MB / 1.123 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001892/1.178, allocations: 164.7 kB / 1.425 GB, free: 9.355 MB / 1.123 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/1.178, allocations: 128 / 1.425 GB, free: 9.355 MB / 1.123 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002093/1.178, allocations: 43.92 kB / 1.425 GB, free: 9.312 MB / 1.123 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/1.178, allocations: 3.938 kB / 1.425 GB, free: 9.309 MB / 1.123 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/1.178, allocations: 8 kB / 1.425 GB, free: 9.301 MB / 1.123 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/1.178, allocations: 4 kB / 1.425 GB, free: 9.297 MB / 1.123 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/1.178, allocations: 0 / 1.425 GB, free: 9.297 MB / 1.123 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003524/1.178, allocations: 211.3 kB / 1.425 GB, free: 9.074 MB / 1.123 GB
Notification: Performance of postOpt removeConstants (simulation): time 6.243e-05/1.178, allocations: 16 kB / 1.425 GB, free: 9.059 MB / 1.123 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/1.178, allocations: 7.938 kB / 1.425 GB, free: 9.051 MB / 1.123 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/1.178, allocations: 8 kB / 1.425 GB, free: 9.043 MB / 1.123 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.596e-05/1.178, allocations: 15.91 kB / 1.425 GB, free: 9.027 MB / 1.123 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/1.178, allocations: 12 kB / 1.425 GB, free: 9.016 MB / 1.123 GB
Notification: Performance of sorting global known variables: time 4.802e-05/1.179, allocations: 75.28 kB / 1.425 GB, free: 8.941 MB / 1.123 GB
Notification: Performance of sort global known variables: time 6e-08/1.179, allocations: 0 / 1.425 GB, free: 8.941 MB / 1.123 GB
Notification: Performance of remove unused functions: time 0.0002338/1.179, allocations: 32 kB / 1.425 GB, free: 8.91 MB / 1.123 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym)
 * 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 (19):
 * Single equations (assignments): 19
 * 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.0001727/1.179, allocations: 99.25 kB / 1.425 GB, free: 8.801 MB / 1.123 GB
Notification: Performance of simCode: created initialization part: time 0.0002296/1.179, allocations: 97.78 kB / 1.425 GB, free: 8.707 MB / 1.123 GB
Notification: Performance of simCode: created event and clocks part: time 3.036e-06/1.179, allocations: 4.094 kB / 1.425 GB, free: 8.703 MB / 1.123 GB
Notification: Performance of simCode: created simulation system equations: time 9.074e-05/1.179, allocations: 55.84 kB / 1.425 GB, free: 8.648 MB / 1.123 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003108/1.18, allocations: 12 kB / 1.425 GB, free: 8.637 MB / 1.123 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009678/1.181, allocations: 0.5022 MB / 1.426 GB, free: 8.105 MB / 1.123 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003642/1.181, allocations: 0.7086 MB / 1.426 GB, free: 7.371 MB / 1.123 GB
Notification: Performance of simCode: alias equations: time 0.0001235/1.181, allocations: 16.64 kB / 1.426 GB, free: 7.355 MB / 1.123 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.835e-05/1.181, allocations: 15.44 kB / 1.427 GB, free: 7.34 MB / 1.123 GB
Notification: Performance of SimCode: time 2.71e-07/1.181, allocations: 0 / 1.427 GB, free: 7.34 MB / 1.123 GB
Notification: Performance of Templates: time 0.004627/1.186, allocations: 1.225 MB / 1.428 GB, free: 6.121 MB / 1.123 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_11_Buildings.Media.Examples.AirDerivativeCheck  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Media.Examples.AirDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_AirDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.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.671258360147476]