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.001318/0.001318, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001489/0.001489, allocations: 210.5 kB / 22.99 MB, free: 4.957 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.46/1.46, 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.124/3.124, allocations: 0.49 GB / 0.7959 GB, free: 35.47 MB / 0.6231 GB " [Timeout remaining time 177] 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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 65.69 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3094, allocations: 176.1 MB / 1.327 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.00241/0.3118, allocations: 1.273 MB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1631/0.4748, allocations: 129.1 MB / 1.454 GB, free: 14.18 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.069e-05/0.4749, allocations: 0 / 1.454 GB, free: 14.18 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 1.744e-05/0.4749, allocations: 0 / 1.454 GB, free: 14.18 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 5.795e-05/0.475, allocations: 3.938 kB / 1.454 GB, free: 14.18 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004526/0.4754, allocations: 91.56 kB / 1.454 GB, free: 14.09 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 9.081e-05/0.4755, allocations: 35.91 kB / 1.454 GB, free: 14.05 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 4.219e-05/0.4755, allocations: 0 / 1.454 GB, free: 14.05 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 4.833e-05/0.4756, allocations: 19.92 kB / 1.454 GB, free: 14.03 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 6.291e-05/0.4757, allocations: 15.98 kB / 1.455 GB, free: 14.02 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.138e-05/0.4757, allocations: 0 / 1.455 GB, free: 14.02 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002543/0.4759, allocations: 83.75 kB / 1.455 GB, free: 13.93 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 1.626e-05/0.4759, allocations: 7.938 kB / 1.455 GB, free: 13.93 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 2.797e-05/0.476, allocations: 15.98 kB / 1.455 GB, free: 13.91 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0001594/0.4761, allocations: 67.75 kB / 1.455 GB, free: 13.84 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.4761, allocations: 0 / 1.455 GB, free: 13.84 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.443e-06/0.4761, allocations: 0 / 1.455 GB, free: 13.84 MB / 1.154 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.4761, allocations: 8 kB / 1.455 GB, free: 13.84 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004128/0.4765, allocations: 274.2 kB / 1.455 GB, free: 13.54 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.4766, allocations: 12.03 kB / 1.455 GB, free: 13.53 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002108/0.4768, allocations: 12.92 kB / 1.455 GB, free: 13.52 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.435e-05/0.4769, allocations: 106.5 kB / 1.455 GB, free: 13.39 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.4769, allocations: 7.938 kB / 1.455 GB, free: 13.38 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.775e-05/0.4769, allocations: 4 kB / 1.455 GB, free: 13.38 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.4771, allocations: 134.7 kB / 1.455 GB, free: 13.22 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.4771, allocations: 0 / 1.455 GB, free: 13.22 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.4771, allocations: 8 kB / 1.455 GB, free: 13.21 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.4771, allocations: 0 / 1.455 GB, free: 13.21 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.238e-05/0.4772, allocations: 15.98 kB / 1.455 GB, free: 13.2 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001639/0.4774, allocations: 117.3 kB / 1.455 GB, free: 13.05 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.4775, allocations: 46.5 kB / 1.455 GB, free: 13 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.181e-05/0.4775, allocations: 13.09 kB / 1.455 GB, free: 12.98 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/0.4775, allocations: 3.938 kB / 1.455 GB, free: 12.98 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.4775, allocations: 38.5 kB / 1.455 GB, free: 12.93 MB / 1.154 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.4775, allocations: 0 / 1.455 GB, free: 12.93 MB / 1.154 GB Notification: Performance of matching and sorting (n=11): time 0.0007607/0.4783, allocations: 301 kB / 1.456 GB, free: 12.6 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.4784, allocations: 59.41 kB / 1.456 GB, free: 12.53 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.823e-05/0.4784, allocations: 89.86 kB / 1.456 GB, free: 12.43 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.4784, allocations: 25.7 kB / 1.456 GB, free: 12.4 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 3.586e-05/0.4785, allocations: 84.14 kB / 1.456 GB, free: 12.32 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.897e-05/0.4785, allocations: 43.67 kB / 1.456 GB, free: 12.27 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-05/0.4786, allocations: 25.72 kB / 1.456 GB, free: 12.24 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.4787, allocations: 318.8 kB / 1.456 GB, free: 11.92 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.056e-05/0.4788, allocations: 23.98 kB / 1.456 GB, free: 11.9 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.332e-05/0.4788, allocations: 41.83 kB / 1.456 GB, free: 11.85 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.461e-05/0.4789, allocations: 57.66 kB / 1.456 GB, free: 11.79 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.4789, allocations: 0 / 1.456 GB, free: 11.79 MB / 1.154 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001493/0.4791, allocations: 98.19 kB / 1.457 GB, free: 11.69 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.4791, allocations: 8 kB / 1.457 GB, free: 11.68 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.4791, allocations: 80 / 1.457 GB, free: 11.68 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.4791, allocations: 3.984 kB / 1.457 GB, free: 11.68 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.4792, allocations: 20 kB / 1.457 GB, free: 11.66 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.4792, allocations: 3.984 kB / 1.457 GB, free: 11.65 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.36e-05/0.4792, allocations: 4 kB / 1.457 GB, free: 11.65 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.968e-06/0.4793, allocations: 7.984 kB / 1.457 GB, free: 11.64 MB / 1.154 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 9.441e-05/0.4794, allocations: 126.2 kB / 1.457 GB, free: 11.51 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.794e-05/0.4794, allocations: 7.984 kB / 1.457 GB, free: 11.5 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.225e-05/0.4794, allocations: 11.91 kB / 1.457 GB, free: 11.48 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.4794, allocations: 0 / 1.457 GB, free: 11.48 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.4794, allocations: 4 kB / 1.457 GB, free: 11.48 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.4794, allocations: 0 / 1.457 GB, free: 11.48 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001126/0.4795, allocations: 113.3 kB / 1.457 GB, free: 11.34 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4795, allocations: 0 / 1.457 GB, free: 11.34 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/0.4797, allocations: 23.98 kB / 1.457 GB, free: 11.32 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.4797, allocations: 0 / 1.457 GB, free: 11.32 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.4797, allocations: 8 kB / 1.457 GB, free: 11.31 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.4797, allocations: 0 / 1.457 GB, free: 11.31 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.4797, allocations: 0 / 1.457 GB, free: 11.31 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002214/0.4799, allocations: 144.9 kB / 1.457 GB, free: 11.15 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 4.64e-05/0.4799, allocations: 7.953 kB / 1.457 GB, free: 11.14 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.48, allocations: 0 / 1.457 GB, free: 11.14 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.552e-05/0.4801, allocations: 12.03 kB / 1.457 GB, free: 11.13 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.837e-05/0.4801, allocations: 3.984 kB / 1.457 GB, free: 11.12 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.796e-06/0.4801, allocations: 4 kB / 1.457 GB, free: 11.12 MB / 1.154 GB Notification: Performance of sorting global known variables: time 3.73e-05/0.4801, allocations: 79.22 kB / 1.457 GB, free: 11.04 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/0.4801, allocations: 4.094 kB / 1.457 GB, free: 11.04 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0002055/0.4803, allocations: 20 kB / 1.457 GB, free: 11.02 MB / 1.154 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.0001286/0.4805, allocations: 99.25 kB / 1.457 GB, free: 10.91 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0001328/0.4806, allocations: 51.86 kB / 1.457 GB, free: 10.86 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.4806, allocations: 0 / 1.457 GB, free: 10.86 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 4.393e-05/0.4806, allocations: 27.92 kB / 1.457 GB, free: 10.83 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002094/0.4808, allocations: 12.38 kB / 1.457 GB, free: 10.82 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005811/0.4814, allocations: 317.2 kB / 1.458 GB, free: 10.48 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.344e-05/0.4815, allocations: 71.33 kB / 1.458 GB, free: 10.39 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 5.523e-05/0.4815, allocations: 16.59 kB / 1.458 GB, free: 10.38 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.41e-05/0.4816, allocations: 15.44 kB / 1.458 GB, free: 10.36 MB / 1.154 GB Notification: Performance of SimCode: time 4.31e-07/0.4816, allocations: 0 / 1.458 GB, free: 10.36 MB / 1.154 GB Notification: Performance of Templates: time 0.003393/0.485, allocations: 0.6674 MB / 1.458 GB, free: 9.707 MB / 1.154 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 -s gbode -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/jenkins1/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: 8.760984684005962]