Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002271/0.002271, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002708/0.002708, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.662/1.662, allocations: 177.1 MB / 203.1 MB, free: 5.289 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.509/3.509, allocations: 429.5 MB / 0.6729 GB, free: 4.012 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0.5469 kB / 0.8774 GB, free: 5.555 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.797e-05/2.984e-05, allocations: 9.766 kB / 0.8774 GB, free: 5.547 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002901/0.002931, allocations: 1.297 MB / 0.8787 GB, free: 4.262 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.2338/0.2367, allocations: 142.5 MB / 1.018 GB, free: 5.238 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.971e-05/0.2368, allocations: 4 kB / 1.018 GB, free: 5.234 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.878e-05/0.2368, allocations: 3.938 kB / 1.018 GB, free: 5.23 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.574e-05/0.2368, allocations: 11.91 kB / 1.018 GB, free: 5.219 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004511/0.2373, allocations: 99.38 kB / 1.018 GB, free: 5.121 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 8.71e-05/0.2374, allocations: 31.86 kB / 1.018 GB, free: 5.09 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 4.619e-05/0.2374, allocations: 8 kB / 1.018 GB, free: 5.082 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 7.456e-05/0.2375, allocations: 23.95 kB / 1.018 GB, free: 5.059 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.445e-05/0.2376, allocations: 4 kB / 1.018 GB, free: 5.055 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.2376, allocations: 8 kB / 1.018 GB, free: 5.047 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002596/0.2378, allocations: 83.75 kB / 1.018 GB, free: 4.965 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.888e-05/0.2379, allocations: 7.922 kB / 1.018 GB, free: 4.957 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 3.367e-05/0.2379, allocations: 15.98 kB / 1.018 GB, free: 4.941 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.000187/0.2381, allocations: 71.73 kB / 1.018 GB, free: 4.871 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.2381, allocations: 4 kB / 1.018 GB, free: 4.867 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2381, allocations: 0 / 1.018 GB, free: 4.867 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.411e-05/0.2381, allocations: 0 / 1.018 GB, free: 4.867 MB / 0.9323 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.0005286/0.2386, allocations: 380.1 kB / 1.019 GB, free: 4.461 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.2387, allocations: 12.03 kB / 1.019 GB, free: 4.449 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000222/0.2389, allocations: 24.8 kB / 1.019 GB, free: 4.426 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.239, allocations: 108.6 kB / 1.019 GB, free: 4.293 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.239, allocations: 384 / 1.019 GB, free: 4.293 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.975e-05/0.239, allocations: 12.33 kB / 1.019 GB, free: 4.281 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001977/0.2392, allocations: 130.7 kB / 1.019 GB, free: 4.129 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.2393, allocations: 0 / 1.019 GB, free: 4.129 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.2393, allocations: 7.984 kB / 1.019 GB, free: 4.121 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.2393, allocations: 4 kB / 1.019 GB, free: 4.117 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.741e-05/0.2393, allocations: 15.92 kB / 1.019 GB, free: 4.102 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001877/0.2395, allocations: 120.6 kB / 1.019 GB, free: 3.949 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.2396, allocations: 59.03 kB / 1.019 GB, free: 3.879 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.37e-05/0.2397, allocations: 15.69 kB / 1.019 GB, free: 3.859 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.2397, allocations: 4.234 kB / 1.019 GB, free: 3.855 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/0.2397, allocations: 37.33 kB / 1.019 GB, free: 3.809 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.2397, allocations: 0 / 1.019 GB, free: 3.809 MB / 0.9323 GB Notification: Performance of matching and sorting (n=11): time 0.0007922/0.2405, allocations: 313.4 kB / 1.019 GB, free: 3.465 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.2406, allocations: 55.41 kB / 1.019 GB, free: 3.398 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.2407, allocations: 149.9 kB / 1.02 GB, free: 3.234 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.2407, allocations: 37.83 kB / 1.02 GB, free: 3.191 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 7.383e-05/0.2408, allocations: 126.9 kB / 1.02 GB, free: 3.062 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 5.766e-05/0.2408, allocations: 43.58 kB / 1.02 GB, free: 3.02 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.72e-05/0.2409, allocations: 31.38 kB / 1.02 GB, free: 2.98 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0002947/0.2412, allocations: 0.4923 MB / 1.02 GB, free: 2.477 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.274e-05/0.2412, allocations: 16 kB / 1.02 GB, free: 2.461 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.094e-05/0.2413, allocations: 43.36 kB / 1.02 GB, free: 2.41 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001122/0.2414, allocations: 71.81 kB / 1.02 GB, free: 2.332 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.2414, allocations: 4 kB / 1.02 GB, free: 2.328 MB / 0.9323 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001767/0.2416, allocations: 93.56 kB / 1.021 GB, free: 2.23 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.2416, allocations: 12 kB / 1.021 GB, free: 2.219 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.2416, allocations: 0 / 1.021 GB, free: 2.219 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.2416, allocations: 0 / 1.021 GB, free: 2.219 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.2418, allocations: 27.98 kB / 1.021 GB, free: 2.191 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.2418, allocations: 0 / 1.021 GB, free: 2.191 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.476e-05/0.2418, allocations: 4 kB / 1.021 GB, free: 2.188 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.465e-06/0.2418, allocations: 4 kB / 1.021 GB, free: 2.184 MB / 0.9323 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.0001458/0.242, allocations: 164.5 kB / 1.021 GB, free: 2.012 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.893e-05/0.242, allocations: 15.89 kB / 1.021 GB, free: 1.996 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.025e-05/0.242, allocations: 7.969 kB / 1.021 GB, free: 1.988 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.242, allocations: 11.98 kB / 1.021 GB, free: 1.977 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.242, allocations: 0 / 1.021 GB, free: 1.977 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.242, allocations: 0 / 1.021 GB, free: 1.977 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000151/0.2422, allocations: 124.6 kB / 1.021 GB, free: 1.82 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2422, allocations: 0 / 1.021 GB, free: 1.82 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001303/0.2423, allocations: 27.92 kB / 1.021 GB, free: 1.793 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.2423, allocations: 0 / 1.021 GB, free: 1.793 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.2423, allocations: 0 / 1.021 GB, free: 1.793 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.2423, allocations: 0 / 1.021 GB, free: 1.793 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2423, allocations: 3.938 kB / 1.021 GB, free: 1.789 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002452/0.2426, allocations: 144.4 kB / 1.021 GB, free: 1.625 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 5.535e-05/0.2426, allocations: 19.88 kB / 1.021 GB, free: 1.605 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.003e-05/0.2427, allocations: 8 kB / 1.021 GB, free: 1.598 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.719e-05/0.2427, allocations: 0 / 1.021 GB, free: 1.598 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.812e-05/0.2428, allocations: 7.984 kB / 1.021 GB, free: 1.59 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.2428, allocations: 0 / 1.021 GB, free: 1.59 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 8.65e-05/0.2429, allocations: 127.2 kB / 1.021 GB, free: 1.465 MB / 0.9323 GB Notification: Performance of sort global known variables: time 6e-08/0.2429, allocations: 0 / 1.021 GB, free: 1.465 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0001899/0.243, allocations: 12 kB / 1.021 GB, free: 1.453 MB / 0.9323 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.0001353/0.2432, allocations: 103.2 kB / 1.021 GB, free: 1.34 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0001407/0.2433, allocations: 67.64 kB / 1.021 GB, free: 1.27 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.2433, allocations: 0 / 1.021 GB, free: 1.27 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 6.173e-05/0.2434, allocations: 43.61 kB / 1.021 GB, free: 1.223 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/0.2436, allocations: 20.41 kB / 1.021 GB, free: 1.203 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005077/0.2441, allocations: 277.7 kB / 1.022 GB, free: 0.9023 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.672e-05/0.2442, allocations: 67.34 kB / 1.022 GB, free: 0.8164 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 5.376e-05/0.2442, allocations: 12.72 kB / 1.022 GB, free: 0.8047 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.925e-05/0.2443, allocations: 16.5 kB / 1.022 GB, free: 0.7891 MB / 0.9323 GB Notification: Performance of SimCode: time 4.71e-07/0.2443, allocations: 0 / 1.022 GB, free: 0.7891 MB / 0.9323 GB Notification: Performance of Templates: time 0.3946/0.6389, allocations: 0.8387 MB / 1.023 GB, free: 162.8 MB / 0.9323 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.223238145001233]