Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001743/0.001743, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.002131/0.002131, allocations: 189.8 kB / 22.1 MB, free: 5.152 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.582/1.582, allocations: 225.6 MB / 250.8 MB, free: 13.07 MB / 206.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.258/3.258, allocations: 495.8 MB / 0.783 GB, free: 33.68 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.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_12_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_12_Buildings.Media.Examples.AirDerivativeCheck") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002123/0.002123, allocations: 71.92 kB / 1.137 GB, free: 33.81 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4137/0.4158, allocations: 173.6 MB / 1.307 GB, free: 1.91 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.003009/0.4188, allocations: 1.354 MB / 1.308 GB, free: 0.5469 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.2119/0.6307, allocations: 146.9 MB / 1.452 GB, free: 13.02 MB / 1.154 GB
Notification: Performance of NFInst.updateImplicitVariability: time 6.335e-05/0.6308, allocations: 0 / 1.452 GB, free: 13.02 MB / 1.154 GB
Notification: Performance of NFTyping.typeComponents: time 5.51e-05/0.6308, allocations: 7.938 kB / 1.452 GB, free: 13.02 MB / 1.154 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001105/0.6309, allocations: 11.91 kB / 1.452 GB, free: 13 MB / 1.154 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001125/0.6321, allocations: 346.6 kB / 1.452 GB, free: 12.66 MB / 1.154 GB
Notification: Performance of NFFlatten.flatten: time 0.0001337/0.6322, allocations: 55.84 kB / 1.452 GB, free: 12.61 MB / 1.154 GB
Notification: Performance of NFFlatten.resolveConnections: time 5.158e-05/0.6322, allocations: 0 / 1.452 GB, free: 12.61 MB / 1.154 GB
Notification: Performance of NFEvalConstants.evaluate: time 5.477e-05/0.6323, allocations: 31.91 kB / 1.452 GB, free: 12.58 MB / 1.154 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.6324, allocations: 39.89 kB / 1.452 GB, free: 12.54 MB / 1.154 GB
Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.6324, allocations: 4 kB / 1.452 GB, free: 12.54 MB / 1.154 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0008486/0.6333, allocations: 378.7 kB / 1.452 GB, free: 12.16 MB / 1.154 GB
Notification: Performance of NFScalarize.scalarize: time 6.454e-05/0.6333, allocations: 19.91 kB / 1.452 GB, free: 12.14 MB / 1.154 GB
Notification: Performance of NFVerifyModel.verify: time 4.947e-05/0.6334, allocations: 23.92 kB / 1.452 GB, free: 12.12 MB / 1.154 GB
Notification: Performance of NFConvertDAE.convert: time 0.0003674/0.6338, allocations: 159.5 kB / 1.453 GB, free: 11.96 MB / 1.154 GB
Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.6338, allocations: 0 / 1.453 GB, free: 11.96 MB / 1.154 GB
Notification: Performance of FrontEnd: time 1.823e-06/0.6338, allocations: 0 / 1.453 GB, free: 11.96 MB / 1.154 GB
Notification: Performance of Transformations before backend: time 1.115e-05/0.6338, allocations: 4 kB / 1.453 GB, free: 11.96 MB / 1.154 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.000537/0.6343, allocations: 317.9 kB / 1.453 GB, free: 11.62 MB / 1.154 GB
Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.6344, allocations: 8.031 kB / 1.453 GB, free: 11.61 MB / 1.154 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004341/0.6348, allocations: 36.83 kB / 1.453 GB, free: 11.58 MB / 1.154 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.6349, allocations: 110.5 kB / 1.453 GB, free: 11.45 MB / 1.154 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.6349, allocations: 11.88 kB / 1.453 GB, free: 11.43 MB / 1.154 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.025e-05/0.635, allocations: 11.95 kB / 1.453 GB, free: 11.42 MB / 1.154 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002047/0.6352, allocations: 77.64 kB / 1.453 GB, free: 11.34 MB / 1.154 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.6352, allocations: 4 kB / 1.453 GB, free: 11.34 MB / 1.154 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.6352, allocations: 0 / 1.453 GB, free: 11.34 MB / 1.154 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.6352, allocations: 4 kB / 1.453 GB, free: 11.33 MB / 1.154 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.6353, allocations: 47.89 kB / 1.453 GB, free: 11.29 MB / 1.154 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000227/0.6356, allocations: 156.6 kB / 1.453 GB, free: 11.09 MB / 1.154 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002126/0.6358, allocations: 90.67 kB / 1.453 GB, free: 10.99 MB / 1.154 GB
Notification: Performance of preOpt resolveLoops (simulation): time 5.954e-05/0.6358, allocations: 28.84 kB / 1.453 GB, free: 10.96 MB / 1.154 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001919/0.636, allocations: 23.98 kB / 1.453 GB, free: 10.94 MB / 1.154 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.612e-05/0.6361, allocations: 30.56 kB / 1.453 GB, free: 10.9 MB / 1.154 GB
Notification: Performance of pre-optimization done (n=12): time 1.102e-06/0.6361, allocations: 4.266 kB / 1.453 GB, free: 10.89 MB / 1.154 GB
Notification: Performance of matching and sorting (n=19): time 0.001478/0.6375, allocations: 484.4 kB / 1.454 GB, free: 10.39 MB / 1.154 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/0.6376, allocations: 55.41 kB / 1.454 GB, free: 10.32 MB / 1.154 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.166e-05/0.6377, allocations: 97.8 kB / 1.454 GB, free: 10.22 MB / 1.154 GB
Notification: Performance of collectPreVariables (initialization): time 2.468e-05/0.6377, allocations: 33.64 kB / 1.454 GB, free: 10.18 MB / 1.154 GB
Notification: Performance of collectInitialEqns (initialization): time 3.97e-05/0.6377, allocations: 80.52 kB / 1.454 GB, free: 10.1 MB / 1.154 GB
Notification: Performance of collectInitialBindings (initialization): time 8.095e-05/0.6378, allocations: 83.48 kB / 1.454 GB, free: 10.02 MB / 1.154 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.676e-05/0.6379, allocations: 37.72 kB / 1.454 GB, free: 9.973 MB / 1.154 GB
Notification: Performance of setup shared object (initialization): time 0.0001514/0.638, allocations: 318.8 kB / 1.455 GB, free: 9.652 MB / 1.154 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 6.888e-05/0.6381, allocations: 31.98 kB / 1.455 GB, free: 9.621 MB / 1.154 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.6382, allocations: 78.38 kB / 1.455 GB, free: 9.535 MB / 1.154 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000179/0.6384, allocations: 115.4 kB / 1.455 GB, free: 9.41 MB / 1.154 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-06/0.6384, allocations: 4 kB / 1.455 GB, free: 9.406 MB / 1.154 GB
Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002444/0.6386, allocations: 161.5 kB / 1.455 GB, free: 9.242 MB / 1.154 GB
Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.6386, allocations: 4 kB / 1.455 GB, free: 9.238 MB / 1.154 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.6387, allocations: 4 kB / 1.455 GB, free: 9.234 MB / 1.154 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.6387, allocations: 0 / 1.455 GB, free: 9.234 MB / 1.154 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001818/0.6389, allocations: 43.92 kB / 1.455 GB, free: 9.191 MB / 1.154 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.6389, allocations: 0 / 1.455 GB, free: 9.191 MB / 1.154 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.378e-05/0.6389, allocations: 7.938 kB / 1.455 GB, free: 9.184 MB / 1.154 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.6389, allocations: 8 kB / 1.455 GB, free: 9.176 MB / 1.154 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.0001117/0.639, allocations: 121.8 kB / 1.455 GB, free: 9.047 MB / 1.154 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.502e-05/0.6391, allocations: 11.95 kB / 1.455 GB, free: 9.035 MB / 1.154 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.991e-05/0.6391, allocations: 20.45 kB / 1.455 GB, free: 9.02 MB / 1.154 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.6391, allocations: 0 / 1.455 GB, free: 9.02 MB / 1.154 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.6391, allocations: 3.938 kB / 1.455 GB, free: 9.016 MB / 1.154 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.6391, allocations: 11.88 kB / 1.455 GB, free: 9.004 MB / 1.154 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001739/0.6393, allocations: 156.7 kB / 1.455 GB, free: 8.809 MB / 1.154 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.6393, allocations: 4 kB / 1.455 GB, free: 8.805 MB / 1.154 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002034/0.6395, allocations: 35.98 kB / 1.455 GB, free: 8.77 MB / 1.154 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.6395, allocations: 0 / 1.455 GB, free: 8.77 MB / 1.154 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.6395, allocations: 8 kB / 1.455 GB, free: 8.762 MB / 1.154 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.6395, allocations: 0 / 1.455 GB, free: 8.762 MB / 1.154 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.6395, allocations: 0 / 1.455 GB, free: 8.762 MB / 1.154 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000348/0.6399, allocations: 216.8 kB / 1.456 GB, free: 8.531 MB / 1.154 GB
Notification: Performance of postOpt removeConstants (simulation): time 5.859e-05/0.6399, allocations: 15.94 kB / 1.456 GB, free: 8.516 MB / 1.154 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.298e-05/0.64, allocations: 4.312 kB / 1.456 GB, free: 8.512 MB / 1.154 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.6401, allocations: 4 kB / 1.456 GB, free: 8.508 MB / 1.154 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.311e-05/0.6401, allocations: 27.91 kB / 1.456 GB, free: 8.48 MB / 1.154 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.6401, allocations: 4 kB / 1.456 GB, free: 8.477 MB / 1.154 GB
Notification: Performance of sorting global known variables: time 4.575e-05/0.6402, allocations: 87.22 kB / 1.456 GB, free: 8.391 MB / 1.154 GB
Notification: Performance of sort global known variables: time 7e-08/0.6402, allocations: 0 / 1.456 GB, free: 8.391 MB / 1.154 GB
Notification: Performance of remove unused functions: time 0.0002375/0.6404, allocations: 24 kB / 1.456 GB, free: 8.367 MB / 1.154 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.0001672/0.6406, allocations: 108 kB / 1.456 GB, free: 8.25 MB / 1.154 GB
Notification: Performance of simCode: created initialization part: time 0.0002358/0.6408, allocations: 105.5 kB / 1.456 GB, free: 8.148 MB / 1.154 GB
Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.6408, allocations: 0 / 1.456 GB, free: 8.148 MB / 1.154 GB
Notification: Performance of simCode: created simulation system equations: time 7.68e-05/0.6409, allocations: 47.92 kB / 1.456 GB, free: 8.102 MB / 1.154 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002843/0.6412, allocations: 14.64 kB / 1.456 GB, free: 8.09 MB / 1.154 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009451/0.6421, allocations: 0.5059 MB / 1.457 GB, free: 7.559 MB / 1.154 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003752/0.6425, allocations: 0.7086 MB / 1.457 GB, free: 6.824 MB / 1.154 GB
Notification: Performance of simCode: alias equations: time 0.0001052/0.6426, allocations: 24.62 kB / 1.457 GB, free: 6.801 MB / 1.154 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.739e-05/0.6427, allocations: 15.44 kB / 1.457 GB, free: 6.785 MB / 1.154 GB
Notification: Performance of SimCode: time 4e-07/0.6427, allocations: 4 kB / 1.457 GB, free: 6.781 MB / 1.154 GB
Notification: Performance of Templates: time 0.00452/0.6472, allocations: 1.214 MB / 1.458 GB, free: 5.57 MB / 1.154 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_12_Buildings.Media.Examples.AirDerivativeCheck  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Media.Examples.AirDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_AirDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.026666750200093]