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.0017/0.0017, allocations: 104.2 kB / 19.74 MB, free: 2.066 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.001955/0.001955, allocations: 216.4 kB / 23.04 MB, free: 4.852 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.49/1.49, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.176/3.176, allocations: 0.49 GB / 0.7959 GB, free: 35.56 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: 64.09 kB / 1.155 GB, free: 25.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3803/0.3824, allocations: 176.1 MB / 1.327 GB, free: 0.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002581/0.385, allocations: 1.276 MB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1795/0.5645, allocations: 129.1 MB / 1.454 GB, free: 14.11 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.457e-05/0.5645, allocations: 0 / 1.454 GB, free: 14.11 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 2.57e-05/0.5645, allocations: 0 / 1.454 GB, free: 14.11 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 6.787e-05/0.5646, allocations: 3.938 kB / 1.454 GB, free: 14.11 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005686/0.5652, allocations: 103.5 kB / 1.455 GB, free: 14.01 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.5653, allocations: 31.86 kB / 1.455 GB, free: 13.98 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 4.821e-05/0.5653, allocations: 0 / 1.455 GB, free: 13.98 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 6.008e-05/0.5654, allocations: 19.92 kB / 1.455 GB, free: 13.96 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 6.256e-05/0.5655, allocations: 15.92 kB / 1.455 GB, free: 13.94 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.5655, allocations: 0 / 1.455 GB, free: 13.94 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002799/0.5657, allocations: 83.81 kB / 1.455 GB, free: 13.86 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 2.536e-05/0.5658, allocations: 4 kB / 1.455 GB, free: 13.86 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 3.654e-05/0.5658, allocations: 15.92 kB / 1.455 GB, free: 13.84 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0002113/0.566, allocations: 67.81 kB / 1.455 GB, free: 13.77 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.566, allocations: 7.938 kB / 1.455 GB, free: 13.77 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.285e-06/0.566, allocations: 0 / 1.455 GB, free: 13.77 MB / 1.154 GB Notification: Performance of Transformations before backend: time 8.846e-06/0.566, allocations: 0 / 1.455 GB, free: 13.77 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.0005364/0.5666, allocations: 274.2 kB / 1.455 GB, free: 13.47 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.5666, allocations: 15.97 kB / 1.455 GB, free: 13.45 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002454/0.5669, allocations: 12.94 kB / 1.455 GB, free: 13.44 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.567, allocations: 110.4 kB / 1.455 GB, free: 13.31 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/0.567, allocations: 7.938 kB / 1.455 GB, free: 13.3 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.455e-05/0.5671, allocations: 15.98 kB / 1.455 GB, free: 13.29 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002348/0.5673, allocations: 118.8 kB / 1.455 GB, free: 13.14 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.5673, allocations: 4 kB / 1.455 GB, free: 13.14 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.5673, allocations: 4 kB / 1.455 GB, free: 13.14 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.5673, allocations: 0 / 1.455 GB, free: 13.14 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.881e-05/0.5674, allocations: 11.98 kB / 1.455 GB, free: 13.12 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002075/0.5676, allocations: 117.3 kB / 1.455 GB, free: 12.98 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.5677, allocations: 54.42 kB / 1.455 GB, free: 12.92 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.46e-05/0.5678, allocations: 12.86 kB / 1.455 GB, free: 12.9 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 8.706e-06/0.5678, allocations: 0 / 1.455 GB, free: 12.9 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.322e-05/0.5679, allocations: 38.55 kB / 1.456 GB, free: 12.86 MB / 1.154 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.5679, allocations: 4 kB / 1.456 GB, free: 12.85 MB / 1.154 GB Notification: Performance of matching and sorting (n=11): time 0.0008551/0.5687, allocations: 297.2 kB / 1.456 GB, free: 12.53 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.165e-05/0.5688, allocations: 55.41 kB / 1.456 GB, free: 12.46 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.494e-05/0.5689, allocations: 93.8 kB / 1.456 GB, free: 12.36 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.5689, allocations: 25.7 kB / 1.456 GB, free: 12.33 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 4.549e-05/0.5689, allocations: 88.14 kB / 1.456 GB, free: 12.24 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 5.545e-05/0.569, allocations: 35.69 kB / 1.456 GB, free: 12.2 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.714e-05/0.569, allocations: 29.83 kB / 1.456 GB, free: 12.17 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.5692, allocations: 322.8 kB / 1.456 GB, free: 11.84 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.4e-05/0.5692, allocations: 23.98 kB / 1.456 GB, free: 11.82 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.725e-05/0.5693, allocations: 37.7 kB / 1.456 GB, free: 11.78 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.241e-05/0.5694, allocations: 53.7 kB / 1.457 GB, free: 11.72 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.5694, allocations: 0 / 1.457 GB, free: 11.72 MB / 1.154 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001522/0.5696, allocations: 98.19 kB / 1.457 GB, free: 11.62 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.5696, allocations: 8 kB / 1.457 GB, free: 11.61 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.5696, allocations: 0 / 1.457 GB, free: 11.61 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.5696, allocations: 0 / 1.457 GB, free: 11.61 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.5697, allocations: 23.94 kB / 1.457 GB, free: 11.59 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.5697, allocations: 4 kB / 1.457 GB, free: 11.58 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.77e-05/0.5698, allocations: 7.984 kB / 1.457 GB, free: 11.57 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-06/0.5698, allocations: 4.078 kB / 1.457 GB, free: 11.57 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.0001044/0.5699, allocations: 118.3 kB / 1.457 GB, free: 11.45 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.421e-05/0.5699, allocations: 4 kB / 1.457 GB, free: 11.44 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.529e-05/0.5699, allocations: 11.91 kB / 1.457 GB, free: 11.43 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.5699, allocations: 0 / 1.457 GB, free: 11.43 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.5699, allocations: 0 / 1.457 GB, free: 11.43 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.5699, allocations: 0 / 1.457 GB, free: 11.43 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.5701, allocations: 125.2 kB / 1.457 GB, free: 11.27 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.5701, allocations: 3.938 kB / 1.457 GB, free: 11.27 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/0.5702, allocations: 27.94 kB / 1.457 GB, free: 11.24 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.5702, allocations: 0 / 1.457 GB, free: 11.24 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.5702, allocations: 11.98 kB / 1.457 GB, free: 11.23 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.577e-05/0.5703, allocations: 3.984 kB / 1.457 GB, free: 11.23 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.5703, allocations: 0 / 1.457 GB, free: 11.23 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002348/0.5705, allocations: 133 kB / 1.457 GB, free: 11.08 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 5.575e-05/0.5706, allocations: 11.98 kB / 1.457 GB, free: 11.07 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.5706, allocations: 0 / 1.457 GB, free: 11.07 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.124e-05/0.5707, allocations: 8 kB / 1.457 GB, free: 11.06 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.135e-05/0.5707, allocations: 4.078 kB / 1.457 GB, free: 11.05 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-06/0.5707, allocations: 11.98 kB / 1.457 GB, free: 11.04 MB / 1.154 GB Notification: Performance of sorting global known variables: time 4.873e-05/0.5707, allocations: 79.22 kB / 1.457 GB, free: 10.96 MB / 1.154 GB Notification: Performance of sort global known variables: time 1e-07/0.5707, allocations: 4 kB / 1.457 GB, free: 10.96 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0001993/0.5709, allocations: 16 kB / 1.457 GB, free: 10.95 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.0001208/0.5711, allocations: 103.2 kB / 1.457 GB, free: 10.83 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0001426/0.5712, allocations: 47.97 kB / 1.457 GB, free: 10.79 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.5712, allocations: 0 / 1.457 GB, free: 10.79 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 5.935e-05/0.5713, allocations: 27.94 kB / 1.457 GB, free: 10.76 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002659/0.5715, allocations: 16.02 kB / 1.457 GB, free: 10.74 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006707/0.5722, allocations: 346.8 kB / 1.458 GB, free: 10.37 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.92e-05/0.5723, allocations: 67.34 kB / 1.458 GB, free: 10.29 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.651e-05/0.5723, allocations: 15.44 kB / 1.458 GB, free: 10.27 MB / 1.154 GB Notification: Performance of SimCode: time 3.91e-07/0.5723, allocations: 0 / 1.458 GB, free: 10.27 MB / 1.154 GB Notification: Performance of Templates: time 0.002804/0.5751, allocations: 0.8627 MB / 1.459 GB, free: 9.406 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.243013156112283]