Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001939/0.001939, allocations: 83.69 kB / 20.23 MB, free: 4.191 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002007/0.002007, allocations: 157.3 kB / 23.55 MB, free: 0.875 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.606/1.606, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.907/2.907, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_11_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_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 0.7863 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.946e-05/3.151e-05, allocations: 2.312 kB / 0.7863 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.003059/0.003091, allocations: 1.297 MB / 0.7876 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.2102/0.2133, allocations: 142.5 MB / 0.9268 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.953e-05/0.2134, allocations: 0 / 0.9268 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 1.894e-05/0.2134, allocations: 0 / 0.9268 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 6.441e-05/0.2135, allocations: 3.938 kB / 0.9268 GB, free: 12.53 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005326/0.214, allocations: 95.48 kB / 0.9269 GB, free: 12.44 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 9.736e-05/0.2141, allocations: 35.86 kB / 0.9269 GB, free: 12.4 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 3.296e-05/0.2141, allocations: 0 / 0.9269 GB, free: 12.4 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 8.169e-05/0.2142, allocations: 27.91 kB / 0.927 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 6.165e-05/0.2143, allocations: 11.97 kB / 0.927 GB, free: 12.36 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/0.2143, allocations: 4 kB / 0.927 GB, free: 12.36 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003136/0.2146, allocations: 79.75 kB / 0.9271 GB, free: 12.28 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 1.854e-05/0.2146, allocations: 4 kB / 0.9271 GB, free: 12.28 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 3.601e-05/0.2147, allocations: 15.92 kB / 0.9271 GB, free: 12.26 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0002139/0.2149, allocations: 75.69 kB / 0.9271 GB, free: 12.19 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.2149, allocations: 0 / 0.9271 GB, free: 12.19 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.687e-06/0.2149, allocations: 8 kB / 0.9272 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.2149, allocations: 0 / 0.9272 GB, free: 12.18 MB / 0.8855 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.000526/0.2154, allocations: 372.2 kB / 0.9275 GB, free: 11.78 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.474e-05/0.2155, allocations: 12.03 kB / 0.9275 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002498/0.2157, allocations: 28.75 kB / 0.9275 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.2158, allocations: 108.6 kB / 0.9277 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.2158, allocations: 384 / 0.9277 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.111e-05/0.2159, allocations: 12.31 kB / 0.9277 GB, free: 11.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.2161, allocations: 130.7 kB / 0.9278 GB, free: 11.45 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.2161, allocations: 0 / 0.9278 GB, free: 11.45 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.2161, allocations: 4 kB / 0.9278 GB, free: 11.44 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.2161, allocations: 7.938 kB / 0.9278 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.008e-05/0.2162, allocations: 15.98 kB / 0.9278 GB, free: 11.42 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001998/0.2164, allocations: 128.5 kB / 0.9279 GB, free: 11.26 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001398/0.2165, allocations: 55.05 kB / 0.928 GB, free: 11.19 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.871e-05/0.2165, allocations: 19.66 kB / 0.928 GB, free: 11.17 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.2166, allocations: 8 kB / 0.928 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/0.2166, allocations: 37.33 kB / 0.9281 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 9.61e-07/0.2166, allocations: 3.938 kB / 0.9281 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11): time 0.0009114/0.2175, allocations: 301.6 kB / 0.9283 GB, free: 10.78 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.2176, allocations: 55.41 kB / 0.9284 GB, free: 10.71 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.2177, allocations: 153.9 kB / 0.9285 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.684e-05/0.2177, allocations: 33.7 kB / 0.9286 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.384e-05/0.2178, allocations: 126.9 kB / 0.9287 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.541e-05/0.2178, allocations: 39.88 kB / 0.9287 GB, free: 10.34 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.042e-05/0.2179, allocations: 35.36 kB / 0.9288 GB, free: 10.29 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002538/0.2181, allocations: 0.4922 MB / 0.9293 GB, free: 9.789 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.601e-05/0.2182, allocations: 19.98 kB / 0.9293 GB, free: 9.77 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.744e-05/0.2182, allocations: 43.48 kB / 0.9293 GB, free: 9.719 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/0.2184, allocations: 67.3 kB / 0.9294 GB, free: 9.645 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.2184, allocations: 0 / 0.9294 GB, free: 9.645 MB / 0.8855 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001685/0.2185, allocations: 105.5 kB / 0.9295 GB, free: 9.535 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.2186, allocations: 8 kB / 0.9295 GB, free: 9.527 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.2186, allocations: 0 / 0.9295 GB, free: 9.527 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.2186, allocations: 4 kB / 0.9295 GB, free: 9.523 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.2187, allocations: 23.98 kB / 0.9295 GB, free: 9.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.2187, allocations: 0 / 0.9295 GB, free: 9.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.676e-05/0.2187, allocations: 4 kB / 0.9295 GB, free: 9.496 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.2188, allocations: 4.703 kB / 0.9295 GB, free: 9.492 MB / 0.8855 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.0001249/0.2189, allocations: 168.5 kB / 0.9297 GB, free: 9.316 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.819e-05/0.2189, allocations: 11.94 kB / 0.9297 GB, free: 9.305 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.866e-05/0.219, allocations: 7.969 kB / 0.9297 GB, free: 9.297 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.219, allocations: 4 kB / 0.9297 GB, free: 9.293 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.219, allocations: 0 / 0.9297 GB, free: 9.293 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.219, allocations: 0 / 0.9297 GB, free: 9.293 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/0.2191, allocations: 124.6 kB / 0.9298 GB, free: 9.137 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2191, allocations: 0 / 0.9298 GB, free: 9.137 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001418/0.2192, allocations: 27.92 kB / 0.9298 GB, free: 9.109 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.2193, allocations: 0 / 0.9298 GB, free: 9.109 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.2193, allocations: 4 kB / 0.9299 GB, free: 9.105 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.572e-06/0.2193, allocations: 0 / 0.9299 GB, free: 9.105 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.2193, allocations: 0 / 0.9299 GB, free: 9.105 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002625/0.2195, allocations: 152.2 kB / 0.93 GB, free: 8.934 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.088e-05/0.2196, allocations: 19.88 kB / 0.93 GB, free: 8.914 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.2196, allocations: 0 / 0.93 GB, free: 8.914 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.741e-05/0.2197, allocations: 8 kB / 0.93 GB, free: 8.906 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.209e-05/0.2197, allocations: 7.984 kB / 0.93 GB, free: 8.898 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.2197, allocations: 0 / 0.93 GB, free: 8.898 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 7.099e-05/0.2198, allocations: 123.2 kB / 0.9301 GB, free: 8.777 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7e-08/0.2198, allocations: 4.094 kB / 0.9302 GB, free: 8.773 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002058/0.22, allocations: 16 kB / 0.9302 GB, free: 8.758 MB / 0.8855 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.000146/0.2201, allocations: 99.25 kB / 0.9303 GB, free: 8.652 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001813/0.2203, allocations: 71.52 kB / 0.9303 GB, free: 8.578 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.2203, allocations: 4 kB / 0.9303 GB, free: 8.574 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 5.718e-05/0.2204, allocations: 35.61 kB / 0.9304 GB, free: 8.535 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.2207, allocations: 24.28 kB / 0.9304 GB, free: 8.512 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006295/0.2213, allocations: 261.9 kB / 0.9306 GB, free: 8.227 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.749e-05/0.2214, allocations: 75.33 kB / 0.9307 GB, free: 8.133 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 5.959e-05/0.2214, allocations: 8.734 kB / 0.9307 GB, free: 8.125 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.534e-05/0.2215, allocations: 12.5 kB / 0.9307 GB, free: 8.113 MB / 0.8855 GB Notification: Performance of SimCode: time 9.32e-07/0.2215, allocations: 4 kB / 0.9307 GB, free: 8.109 MB / 0.8855 GB Notification: Performance of Templates: time 0.004214/0.2257, allocations: 0.8481 MB / 0.9316 GB, free: 7.293 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.411063075996935]