Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.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.001868/0.001868, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.002422/0.002422, allocations: 191.2 kB / 22.11 MB, free: 4.223 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.584/1.584, allocations: 225.6 MB / 250.8 MB, free: 2.898 MB / 190.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 2.971/2.971, allocations: 495.8 MB / 0.7831 GB, free: 12.27 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.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.hAirSym.|der.hAirCod.",fileNamePrefix="Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck")
translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.hAirSym.|der.hAirCod.",fileNamePrefix="Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002109/0.002109, allocations: 55.91 kB / 1.137 GB, free: 12.25 MB / 0.92 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.247/1.249, allocations: 173.6 MB / 1.307 GB, free: 33.86 MB / 1.061 GB
Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.00229/1.252, allocations: 1.287 MB / 1.308 GB, free: 32.95 MB / 1.061 GB
Notification: Performance of NFInst.instExpressions: time 0.2299/1.482, allocations: 145.8 MB / 1.45 GB, free: 7.301 MB / 1.139 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.601e-05/1.482, allocations: 0 / 1.45 GB, free: 7.301 MB / 1.139 GB
Notification: Performance of NFTyping.typeComponents: time 4.21e-05/1.482, allocations: 5.391 kB / 1.45 GB, free: 7.297 MB / 1.139 GB
Notification: Performance of NFTyping.typeBindings: time 7.818e-05/1.482, allocations: 5.891 kB / 1.45 GB, free: 7.293 MB / 1.139 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0007616/1.482, allocations: 95.42 kB / 1.451 GB, free: 7.242 MB / 1.139 GB
Notification: Performance of NFFlatten.flatten: time 0.0001621/1.483, allocations: 33.39 kB / 1.451 GB, free: 7.23 MB / 1.139 GB
Notification: Performance of NFFlatten.resolveConnections: time 6.919e-05/1.483, allocations: 10.27 kB / 1.451 GB, free: 7.223 MB / 1.139 GB
Notification: Performance of NFEvalConstants.evaluate: time 8.767e-05/1.483, allocations: 18.3 kB / 1.451 GB, free: 7.215 MB / 1.139 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/1.483, allocations: 20.52 kB / 1.451 GB, free: 7.203 MB / 1.139 GB
Notification: Performance of NFPackage.collectConstants: time 2.012e-05/1.483, allocations: 1.25 kB / 1.451 GB, free: 7.203 MB / 1.139 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.000408/1.483, allocations: 81.36 kB / 1.451 GB, free: 7.168 MB / 1.139 GB
Notification: Performance of NFScalarize.scalarize: time 2.64e-05/1.483, allocations: 3.344 kB / 1.451 GB, free: 7.168 MB / 1.139 GB
Notification: Performance of NFVerifyModel.verify: time 4.906e-05/1.483, allocations: 16.11 kB / 1.451 GB, free: 7.16 MB / 1.139 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002593/1.484, allocations: 68.64 kB / 1.451 GB, free: 7.141 MB / 1.139 GB
Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/1.484, allocations: 0 / 1.451 GB, free: 7.141 MB / 1.139 GB
Notification: Performance of FrontEnd: time 2.094e-06/1.484, allocations: 0 / 1.451 GB, free: 7.141 MB / 1.139 GB
Notification: Performance of Transformations before backend: time 1.025e-05/1.484, allocations: 1.344 kB / 1.451 GB, free: 7.141 MB / 1.139 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 7
 * Number of variables: 7
Notification: Performance of Generate backend data structure: time 0.0006528/1.484, allocations: 279.2 kB / 1.451 GB, free: 6.863 MB / 1.139 GB
Notification: Performance of prepare preOptimizeDAE: time 5.903e-05/1.484, allocations: 8.969 kB / 1.451 GB, free: 6.863 MB / 1.139 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002758/1.485, allocations: 19.92 kB / 1.451 GB, free: 6.855 MB / 1.139 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/1.485, allocations: 104.4 kB / 1.451 GB, free: 6.73 MB / 1.139 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.838e-05/1.485, allocations: 10.72 kB / 1.451 GB, free: 6.723 MB / 1.139 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.079e-05/1.485, allocations: 2.906 kB / 1.451 GB, free: 6.723 MB / 1.139 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002039/1.485, allocations: 51.05 kB / 1.451 GB, free: 6.684 MB / 1.139 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/1.485, allocations: 4 kB / 1.451 GB, free: 6.68 MB / 1.139 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.072e-05/1.485, allocations: 1.922 kB / 1.451 GB, free: 6.68 MB / 1.139 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/1.485, allocations: 1.5 kB / 1.451 GB, free: 6.68 MB / 1.139 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 7.452e-05/1.485, allocations: 12.22 kB / 1.451 GB, free: 6.68 MB / 1.139 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003707/1.486, allocations: 138.7 kB / 1.451 GB, free: 6.516 MB / 1.139 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.000139/1.486, allocations: 50 kB / 1.451 GB, free: 6.48 MB / 1.139 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.177e-05/1.486, allocations: 15.06 kB / 1.451 GB, free: 6.469 MB / 1.139 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/1.486, allocations: 9.812 kB / 1.451 GB, free: 6.461 MB / 1.139 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.645e-05/1.486, allocations: 32.44 kB / 1.451 GB, free: 6.422 MB / 1.139 GB
Notification: Performance of pre-optimization done (n=7): time 1.452e-06/1.486, allocations: 0 / 1.451 GB, free: 6.422 MB / 1.139 GB
Notification: Performance of matching and sorting (n=11): time 0.0009906/1.487, allocations: 299.7 kB / 1.452 GB, free: 6.207 MB / 1.139 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/1.487, allocations: 52.75 kB / 1.452 GB, free: 6.145 MB / 1.139 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/1.487, allocations: 100.5 kB / 1.452 GB, free: 6.039 MB / 1.139 GB
Notification: Performance of collectPreVariables (initialization): time 2.491e-05/1.487, allocations: 26.83 kB / 1.452 GB, free: 6.008 MB / 1.139 GB
Notification: Performance of collectInitialEqns (initialization): time 4.518e-05/1.487, allocations: 81.83 kB / 1.452 GB, free: 5.926 MB / 1.139 GB
Notification: Performance of collectInitialBindings (initialization): time 6.25e-05/1.487, allocations: 42.88 kB / 1.452 GB, free: 5.891 MB / 1.139 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 8.19e-05/1.487, allocations: 29.16 kB / 1.452 GB, free: 5.867 MB / 1.139 GB
Notification: Performance of setup shared object (initialization): time 0.000167/1.487, allocations: 317.5 kB / 1.452 GB, free: 5.551 MB / 1.139 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 5.076e-05/1.487, allocations: 20.39 kB / 1.452 GB, free: 5.543 MB / 1.139 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 6.707e-05/1.487, allocations: 36.64 kB / 1.452 GB, free: 5.52 MB / 1.139 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/1.488, allocations: 66.27 kB / 1.452 GB, free: 5.477 MB / 1.139 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/1.488, allocations: 1.344 kB / 1.452 GB, free: 5.477 MB / 1.139 GB
Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001834/1.488, allocations: 94.22 kB / 1.453 GB, free: 5.422 MB / 1.139 GB
Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/1.488, allocations: 5.406 kB / 1.453 GB, free: 5.422 MB / 1.139 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/1.488, allocations: 1.094 kB / 1.453 GB, free: 5.422 MB / 1.139 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/1.488, allocations: 4.875 kB / 1.453 GB, free: 5.418 MB / 1.139 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/1.488, allocations: 24.75 kB / 1.453 GB, free: 5.414 MB / 1.139 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/1.488, allocations: 1.094 kB / 1.453 GB, free: 5.414 MB / 1.139 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.919e-05/1.488, allocations: 1.812 kB / 1.453 GB, free: 5.414 MB / 1.139 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/1.488, allocations: 11.34 kB / 1.453 GB, free: 5.406 MB / 1.139 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 (14):
 * Single equations (assignments): 14
 * 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.0001328/1.488, allocations: 129.6 kB / 1.453 GB, free: 5.273 MB / 1.139 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.112e-05/1.488, allocations: 6.797 kB / 1.453 GB, free: 5.27 MB / 1.139 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.708e-05/1.488, allocations: 8.75 kB / 1.453 GB, free: 5.262 MB / 1.139 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/1.488, allocations: 2.188 kB / 1.453 GB, free: 5.262 MB / 1.139 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/1.488, allocations: 0.8438 kB / 1.453 GB, free: 5.262 MB / 1.139 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/1.488, allocations: 0 / 1.453 GB, free: 5.262 MB / 1.139 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001772/1.488, allocations: 151 kB / 1.453 GB, free: 5.09 MB / 1.139 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/1.488, allocations: 0.8906 kB / 1.453 GB, free: 5.09 MB / 1.139 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001369/1.489, allocations: 32.88 kB / 1.453 GB, free: 5.078 MB / 1.139 GB
Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/1.489, allocations: 0.6562 kB / 1.453 GB, free: 5.078 MB / 1.139 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/1.489, allocations: 1.438 kB / 1.453 GB, free: 5.078 MB / 1.139 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/1.489, allocations: 0 / 1.453 GB, free: 5.078 MB / 1.139 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/1.489, allocations: 1.875 kB / 1.453 GB, free: 5.078 MB / 1.139 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002683/1.489, allocations: 136.3 kB / 1.453 GB, free: 4.98 MB / 1.139 GB
Notification: Performance of postOpt removeConstants (simulation): time 5.962e-05/1.489, allocations: 5.703 kB / 1.453 GB, free: 4.98 MB / 1.139 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/1.489, allocations: 1.859 kB / 1.453 GB, free: 4.98 MB / 1.139 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.211e-05/1.489, allocations: 11.62 kB / 1.453 GB, free: 4.973 MB / 1.139 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.446e-05/1.489, allocations: 5.75 kB / 1.453 GB, free: 4.973 MB / 1.139 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/1.489, allocations: 3.703 kB / 1.453 GB, free: 4.973 MB / 1.139 GB
Notification: Performance of sorting global known variables: time 5.94e-05/1.489, allocations: 80.22 kB / 1.453 GB, free: 4.895 MB / 1.139 GB
Notification: Performance of sort global known variables: time 6e-08/1.489, allocations: 0 / 1.453 GB, free: 4.895 MB / 1.139 GB
Notification: Performance of remove unused functions: time 0.0002195/1.489, allocations: 20.44 kB / 1.453 GB, free: 4.887 MB / 1.139 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 3 (hLiqSym,hSteSym,hAirSym)
 * 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 (11):
 * Single equations (assignments): 11
 * 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.0001527/1.489, allocations: 101.5 kB / 1.453 GB, free: 4.793 MB / 1.139 GB
Notification: Performance of simCode: created initialization part: time 0.0001883/1.49, allocations: 54.72 kB / 1.453 GB, free: 4.777 MB / 1.139 GB
Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.49, allocations: 1.062 kB / 1.453 GB, free: 4.777 MB / 1.139 GB
Notification: Performance of simCode: created simulation system equations: time 5.49e-05/1.49, allocations: 27.62 kB / 1.453 GB, free: 4.77 MB / 1.139 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000276/1.49, allocations: 8.453 kB / 1.453 GB, free: 4.766 MB / 1.139 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007945/1.491, allocations: 328.3 kB / 1.454 GB, free: 4.492 MB / 1.139 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004032/1.491, allocations: 0.6893 MB / 1.454 GB, free: 3.793 MB / 1.139 GB
Notification: Performance of simCode: alias equations: time 6.626e-05/1.491, allocations: 11.08 kB / 1.454 GB, free: 3.789 MB / 1.139 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.595e-05/1.491, allocations: 11.38 kB / 1.454 GB, free: 3.781 MB / 1.139 GB
Notification: Performance of SimCode: time 5.41e-07/1.491, allocations: 1.062 kB / 1.454 GB, free: 3.781 MB / 1.139 GB
Notification: Performance of Templates: time 0.004277/1.496, allocations: 0.6963 MB / 1.455 GB, free: 3.691 MB / 1.139 GB
"
[Timeout remaining time 298]
make -j1 -f Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.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.26806040480733]