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.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.001568/0.001568, allocations: 100.4 kB / 19.72 MB, free: 2.121 MB / 14.72 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.001927/0.001927, allocations: 207.6 kB / 23.01 MB, free: 4.93 MB / 14.72 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.51/1.51, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.211/3.211, allocations: 0.49 GB / 0.7958 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_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 - Absyn->SCode: time 2.635e-05/2.635e-05, allocations: 4.25 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002012/0.002038, allocations: 1.284 MB / 1.156 GB, free: 24.36 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1986/0.2007, allocations: 129.1 MB / 1.282 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.515e-05/0.2007, allocations: 0 / 1.282 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.254e-05/0.2007, allocations: 3.938 kB / 1.282 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.851e-05/0.2008, allocations: 7.969 kB / 1.282 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004478/0.2012, allocations: 91.52 kB / 1.282 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.487e-05/0.2013, allocations: 35.86 kB / 1.282 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.89e-05/0.2014, allocations: 7.984 kB / 1.282 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.176e-05/0.2014, allocations: 23.92 kB / 1.282 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.304e-05/0.2015, allocations: 11.98 kB / 1.282 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.834e-05/0.2015, allocations: 4 kB / 1.282 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002576/0.2018, allocations: 75.77 kB / 1.283 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of combineBinaries: time 8.703e-05/0.2018, allocations: 59.5 kB / 1.283 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of replaceArrayConstructors: time 2.233e-05/0.2019, allocations: 23.66 kB / 1.283 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.482e-05/0.2019, allocations: 4 kB / 1.283 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.392e-05/0.2019, allocations: 0 / 1.283 GB, free: 14.35 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 (7) * Number of variables: 7 (7) Notification: Performance of [SIM] Bindings: time 0.0005659/0.2025, allocations: 320.7 kB / 1.283 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of [SIM] FunctionAlias: time 6.206e-05/0.2025, allocations: 40 kB / 1.283 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of [SIM] Early Inline: time 0.0002318/0.2028, allocations: 152.2 kB / 1.283 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of [SIM] Simplify 1: time 0.000125/0.2029, allocations: 92.7 kB / 1.283 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of [SIM] Alias: time 0.0007219/0.2036, allocations: 296.4 kB / 1.283 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of [SIM] Simplify 2: time 0.0001596/0.2038, allocations: 112.8 kB / 1.284 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of [SIM] Remove Stream: time 6.941e-05/0.2038, allocations: 60.39 kB / 1.284 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of [SIM] Detect States: time 0.0002426/0.2041, allocations: 133.8 kB / 1.284 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of [SIM] Events: time 0.0001095/0.2042, allocations: 51.25 kB / 1.284 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of [SIM] Partitioning: time 0.0001176/0.2043, allocations: 68.08 kB / 1.284 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of [SIM] Causalize: time 0.0004955/0.2048, allocations: 361.8 kB / 1.284 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001628/0.205, allocations: 159.8 kB / 1.284 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of [INI] Simplify: time 0.0002239/0.2052, allocations: 160.8 kB / 1.285 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of [INI] Inline: time 0.0002226/0.2054, allocations: 215.7 kB / 1.285 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of [INI] Partitioning: time 1.448e-05/0.2054, allocations: 12.12 kB / 1.285 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of [INI] Cleanup: time 4.139e-05/0.2055, allocations: 31.95 kB / 1.285 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of [INI] Causalize: time 0.000274/0.2057, allocations: 180.4 kB / 1.285 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of [INI] Tearing: time 1.97e-05/0.2058, allocations: 12 kB / 1.285 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of [SIM] Initialization: time 3.51e-07/0.2058, allocations: 0 / 1.285 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of [SIM] Remove Dummies: time 4.328e-06/0.2058, allocations: 0 / 1.285 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of [SIM] Tearing: time 3.296e-06/0.2058, allocations: 4 kB / 1.285 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of [SIM] Categorize: time 7.735e-06/0.2058, allocations: 0 / 1.285 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of [SIM] Solve: time 0.0002319/0.206, allocations: 147.7 kB / 1.285 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of [SIM] Jacobian: time 0.0002468/0.2063, allocations: 206 kB / 1.285 GB, free: 11.04 MB / 0.9825 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 0 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 3 (3) {hLiqSym, hSteSym, hAirSym} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 3 (3) {$SEV_2, $SEV_1, $SEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 8 (scalar:8, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 11 (scalar:11, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 5.826e-05/0.2063, allocations: 25.27 kB / 1.285 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of SimCode: time 0.000763/0.2071, allocations: 359.3 kB / 1.286 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of Templates: time 0.004723/0.2118, allocations: 1.492 MB / 1.287 GB, free: 9.168 MB / 0.9825 GB " [Timeout remaining time 300] 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] "Error: Could not read variable der(hLiqCod) in file Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.mat. Warning: Get data of variable der(hLiqCod) from file Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.mat failed! Error: Could not read variable der(hSteCod) in file Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.mat. Warning: Get data of variable der(hSteCod) from file Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.866570581216365]