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.001604/0.001604, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002078/0.002078, allocations: 215.5 kB / 22.99 MB, free: 4.945 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.456/1.456, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.083/3.083, allocations: 0.4892 GB / 0.7951 GB, free: 35.45 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.002177/0.002177, allocations: 70.16 kB / 1.154 GB, free: 25.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3901/0.3923, allocations: 176.1 MB / 1.326 GB, free: 1.879 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.003024/0.3953, allocations: 1.283 MB / 1.328 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.182/0.5774, allocations: 129.1 MB / 1.454 GB, free: 15.03 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.683e-05/0.5774, allocations: 0 / 1.454 GB, free: 15.03 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 2.383e-05/0.5774, allocations: 0 / 1.454 GB, free: 15.03 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 6.266e-05/0.5775, allocations: 3.938 kB / 1.454 GB, free: 15.02 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005312/0.578, allocations: 91.56 kB / 1.454 GB, free: 14.93 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 9.112e-05/0.5781, allocations: 31.91 kB / 1.454 GB, free: 14.9 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 4.203e-05/0.5782, allocations: 0 / 1.454 GB, free: 14.9 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 5.154e-05/0.5782, allocations: 19.94 kB / 1.454 GB, free: 14.88 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 6.993e-05/0.5783, allocations: 23.91 kB / 1.454 GB, free: 14.86 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.5783, allocations: 0 / 1.454 GB, free: 14.86 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002786/0.5786, allocations: 79.77 kB / 1.454 GB, free: 14.78 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 1.859e-05/0.5786, allocations: 7.984 kB / 1.454 GB, free: 14.77 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 2.528e-05/0.5786, allocations: 11.94 kB / 1.454 GB, free: 14.76 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0001826/0.5788, allocations: 67.75 kB / 1.454 GB, free: 14.7 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.5788, allocations: 4 kB / 1.454 GB, free: 14.69 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5788, allocations: 0 / 1.454 GB, free: 14.69 MB / 1.154 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.5788, allocations: 0 / 1.454 GB, free: 14.69 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.0004585/0.5793, allocations: 278.2 kB / 1.454 GB, free: 14.39 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.5793, allocations: 12.03 kB / 1.454 GB, free: 14.38 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002229/0.5795, allocations: 12.92 kB / 1.454 GB, free: 14.37 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.5796, allocations: 106.5 kB / 1.454 GB, free: 14.24 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/0.5797, allocations: 11.94 kB / 1.454 GB, free: 14.23 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.88e-05/0.5797, allocations: 4 kB / 1.454 GB, free: 14.22 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002028/0.5799, allocations: 134.7 kB / 1.454 GB, free: 14.07 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.5799, allocations: 0 / 1.454 GB, free: 14.07 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.5799, allocations: 4 kB / 1.454 GB, free: 14.06 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.5799, allocations: 0 / 1.454 GB, free: 14.06 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.574e-05/0.58, allocations: 19.98 kB / 1.454 GB, free: 14.04 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001789/0.5802, allocations: 113.3 kB / 1.455 GB, free: 13.9 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.5803, allocations: 50.5 kB / 1.455 GB, free: 13.84 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.687e-05/0.5803, allocations: 8.859 kB / 1.455 GB, free: 13.83 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.5803, allocations: 3.938 kB / 1.455 GB, free: 13.83 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.916e-05/0.5804, allocations: 42.56 kB / 1.455 GB, free: 13.78 MB / 1.154 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.5804, allocations: 0 / 1.455 GB, free: 13.78 MB / 1.154 GB Notification: Performance of matching and sorting (n=11): time 0.0007962/0.5812, allocations: 301.5 kB / 1.455 GB, free: 13.45 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/0.5812, allocations: 55.41 kB / 1.455 GB, free: 13.38 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.736e-05/0.5813, allocations: 93.86 kB / 1.455 GB, free: 13.28 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.5813, allocations: 29.7 kB / 1.455 GB, free: 13.25 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 4.465e-05/0.5813, allocations: 84.14 kB / 1.455 GB, free: 13.16 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.859e-05/0.5814, allocations: 35.69 kB / 1.455 GB, free: 13.12 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.102e-05/0.5814, allocations: 29.7 kB / 1.455 GB, free: 13.09 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.5816, allocations: 318.8 kB / 1.456 GB, free: 12.77 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.015e-05/0.5816, allocations: 19.98 kB / 1.456 GB, free: 12.75 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.889e-05/0.5817, allocations: 41.7 kB / 1.456 GB, free: 12.7 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.084e-05/0.5818, allocations: 53.66 kB / 1.456 GB, free: 12.64 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.5818, allocations: 128 / 1.456 GB, free: 12.64 MB / 1.154 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001613/0.582, allocations: 105.6 kB / 1.456 GB, free: 12.54 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.582, allocations: 9.875 kB / 1.456 GB, free: 12.53 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.582, allocations: 3.984 kB / 1.456 GB, free: 12.52 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.582, allocations: 0 / 1.456 GB, free: 12.52 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.5821, allocations: 20 kB / 1.456 GB, free: 12.5 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.5821, allocations: 0 / 1.456 GB, free: 12.5 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.349e-05/0.5822, allocations: 0 / 1.456 GB, free: 12.5 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.5822, allocations: 8 kB / 1.456 GB, free: 12.5 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 0.0001008/0.5823, allocations: 126.2 kB / 1.456 GB, free: 12.36 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.789e-05/0.5823, allocations: 7.953 kB / 1.456 GB, free: 12.36 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.873e-05/0.5823, allocations: 11.91 kB / 1.456 GB, free: 12.34 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.5823, allocations: 0 / 1.456 GB, free: 12.34 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.5823, allocations: 0 / 1.456 GB, free: 12.34 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.5823, allocations: 3.938 kB / 1.456 GB, free: 12.34 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001265/0.5825, allocations: 129.2 kB / 1.456 GB, free: 12.18 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.5825, allocations: 3.984 kB / 1.456 GB, free: 12.18 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/0.5826, allocations: 16 kB / 1.456 GB, free: 12.16 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.5826, allocations: 0 / 1.456 GB, free: 12.16 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.5826, allocations: 4 kB / 1.456 GB, free: 12.16 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.5826, allocations: 0 / 1.456 GB, free: 12.16 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.5826, allocations: 0 / 1.456 GB, free: 12.16 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000226/0.5828, allocations: 141 kB / 1.456 GB, free: 12 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 5.321e-05/0.5829, allocations: 7.953 kB / 1.456 GB, free: 11.99 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.5829, allocations: 4 kB / 1.456 GB, free: 11.99 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.467e-05/0.583, allocations: 8.031 kB / 1.456 GB, free: 11.98 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.243e-05/0.583, allocations: 7.922 kB / 1.456 GB, free: 11.97 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.583, allocations: 8 kB / 1.456 GB, free: 11.96 MB / 1.154 GB Notification: Performance of sorting global known variables: time 4.358e-05/0.5831, allocations: 75.28 kB / 1.456 GB, free: 11.89 MB / 1.154 GB Notification: Performance of sort global known variables: time 7e-08/0.5831, allocations: 4 kB / 1.456 GB, free: 11.89 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0002118/0.5833, allocations: 16 kB / 1.456 GB, free: 11.87 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.00012/0.5834, allocations: 99.34 kB / 1.456 GB, free: 11.76 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0001427/0.5835, allocations: 56.38 kB / 1.457 GB, free: 11.71 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.5835, allocations: 0 / 1.457 GB, free: 11.71 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 3.891e-05/0.5836, allocations: 23.94 kB / 1.457 GB, free: 11.68 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/0.5838, allocations: 12.38 kB / 1.457 GB, free: 11.67 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006247/0.5845, allocations: 350.9 kB / 1.457 GB, free: 11.3 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.378e-05/0.5845, allocations: 71.28 kB / 1.457 GB, free: 11.21 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.801e-05/0.5846, allocations: 15.44 kB / 1.457 GB, free: 11.19 MB / 1.154 GB Notification: Performance of SimCode: time 4.91e-07/0.5846, allocations: 0 / 1.457 GB, free: 11.19 MB / 1.154 GB Notification: Performance of Templates: time 0.002512/0.5871, allocations: 0.8615 MB / 1.458 GB, free: 10.33 MB / 1.154 GB " [Timeout remaining time 299] 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/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: 11.059876369778067]