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.001682/0.001682, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.002393/0.002393, allocations: 164.4 kB / 23.01 MB, free: 4.594 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.504/1.504, allocations: 177.2 MB / 203.4 MB, free: 8.992 MB / 190.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 2.864/2.864, allocations: 377.9 MB / 0.6228 GB, free: 12.59 MB / 0.5919 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: 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.002291/0.002291, allocations: 71.89 kB / 0.9819 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.13/1.132, allocations: 176.1 MB / 1.154 GB, free: 33.34 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002145/1.134, allocations: 1.291 MB / 1.155 GB, free: 32.44 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.1953/1.33, allocations: 129 MB / 1.281 GB, free: 9.469 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.881e-05/1.33, allocations: 0 / 1.281 GB, free: 9.469 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 2.145e-05/1.33, allocations: 2.656 kB / 1.281 GB, free: 9.469 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 6.1e-05/1.33, allocations: 4.5 kB / 1.281 GB, free: 9.465 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004866/1.33, allocations: 93.59 kB / 1.281 GB, free: 9.418 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 8.451e-05/1.33, allocations: 31.95 kB / 1.281 GB, free: 9.406 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.142e-05/1.33, allocations: 5.938 kB / 1.281 GB, free: 9.402 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 5.566e-05/1.33, allocations: 21.72 kB / 1.281 GB, free: 9.391 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 6.999e-05/1.33, allocations: 17.66 kB / 1.281 GB, free: 9.383 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/1.33, allocations: 1.312 kB / 1.281 GB, free: 9.383 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002655/1.331, allocations: 77.33 kB / 1.281 GB, free: 9.352 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 2.02e-05/1.331, allocations: 6.797 kB / 1.281 GB, free: 9.348 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 3.73e-05/1.331, allocations: 16.7 kB / 1.281 GB, free: 9.34 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0001754/1.331, allocations: 65.36 kB / 1.281 GB, free: 9.324 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/1.331, allocations: 0 / 1.281 GB, free: 9.324 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.513e-06/1.331, allocations: 0 / 1.281 GB, free: 9.324 MB / 1.139 GB Notification: Performance of Transformations before backend: time 5.781e-06/1.331, allocations: 5.406 kB / 1.281 GB, free: 9.32 MB / 1.139 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.0004385/1.331, allocations: 278.8 kB / 1.282 GB, free: 9.043 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/1.331, allocations: 9.656 kB / 1.282 GB, free: 9.043 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001936/1.332, allocations: 11.88 kB / 1.282 GB, free: 9.043 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/1.332, allocations: 105.7 kB / 1.282 GB, free: 8.918 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/1.332, allocations: 12.94 kB / 1.282 GB, free: 8.906 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/1.332, allocations: 3.594 kB / 1.282 GB, free: 8.906 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001898/1.332, allocations: 133.3 kB / 1.282 GB, free: 8.77 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/1.332, allocations: 0.75 kB / 1.282 GB, free: 8.77 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/1.332, allocations: 5.438 kB / 1.282 GB, free: 8.766 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/1.332, allocations: 3.984 kB / 1.282 GB, free: 8.762 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.119e-05/1.332, allocations: 17.14 kB / 1.282 GB, free: 8.758 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001731/1.332, allocations: 110.5 kB / 1.282 GB, free: 8.629 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/1.332, allocations: 54.05 kB / 1.282 GB, free: 8.59 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.756e-05/1.332, allocations: 16.7 kB / 1.282 GB, free: 8.578 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/1.332, allocations: 5.141 kB / 1.282 GB, free: 8.574 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/1.332, allocations: 33.47 kB / 1.282 GB, free: 8.535 MB / 1.139 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/1.332, allocations: 0 / 1.282 GB, free: 8.535 MB / 1.139 GB Notification: Performance of matching and sorting (n=11): time 0.0007905/1.333, allocations: 298.4 kB / 1.283 GB, free: 8.32 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/1.333, allocations: 54.58 kB / 1.283 GB, free: 8.258 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.226e-05/1.333, allocations: 92.11 kB / 1.283 GB, free: 8.16 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/1.333, allocations: 31.05 kB / 1.283 GB, free: 8.125 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 4.002e-05/1.333, allocations: 81.39 kB / 1.283 GB, free: 8.043 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 5.499e-05/1.333, allocations: 39.19 kB / 1.283 GB, free: 8.012 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.941e-05/1.334, allocations: 28.66 kB / 1.283 GB, free: 7.988 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001544/1.334, allocations: 322.2 kB / 1.283 GB, free: 7.668 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.936e-05/1.334, allocations: 25.45 kB / 1.283 GB, free: 7.656 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.888e-05/1.334, allocations: 40.31 kB / 1.283 GB, free: 7.633 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.353e-05/1.334, allocations: 58.19 kB / 1.283 GB, free: 7.598 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/1.334, allocations: 0 / 1.283 GB, free: 7.598 MB / 1.139 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001773/1.334, allocations: 107.2 kB / 1.283 GB, free: 7.531 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/1.334, allocations: 5.719 kB / 1.283 GB, free: 7.531 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/1.334, allocations: 0 / 1.283 GB, free: 7.531 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/1.334, allocations: 2.062 kB / 1.283 GB, free: 7.531 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/1.334, allocations: 19.89 kB / 1.283 GB, free: 7.531 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/1.334, allocations: 1.125 kB / 1.283 GB, free: 7.531 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.264e-05/1.334, allocations: 2.734 kB / 1.283 GB, free: 7.531 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/1.334, allocations: 6.312 kB / 1.283 GB, free: 7.527 MB / 1.139 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.0001006/1.334, allocations: 130.5 kB / 1.284 GB, free: 7.395 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.413e-05/1.334, allocations: 3.406 kB / 1.284 GB, free: 7.395 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.867e-05/1.334, allocations: 9.688 kB / 1.284 GB, free: 7.387 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/1.334, allocations: 1.156 kB / 1.284 GB, free: 7.387 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/1.334, allocations: 0.5156 kB / 1.284 GB, free: 7.387 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/1.334, allocations: 1.797 kB / 1.284 GB, free: 7.387 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001318/1.335, allocations: 120.2 kB / 1.284 GB, free: 7.25 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/1.335, allocations: 0 / 1.284 GB, free: 7.25 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000126/1.335, allocations: 21.12 kB / 1.284 GB, free: 7.25 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/1.335, allocations: 0 / 1.284 GB, free: 7.25 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/1.335, allocations: 5.156 kB / 1.284 GB, free: 7.246 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/1.335, allocations: 5.75 kB / 1.284 GB, free: 7.242 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/1.335, allocations: 0 / 1.284 GB, free: 7.242 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002361/1.335, allocations: 138.4 kB / 1.284 GB, free: 7.145 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 5.634e-05/1.335, allocations: 9.234 kB / 1.284 GB, free: 7.141 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/1.335, allocations: 5.969 kB / 1.284 GB, free: 7.137 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.483e-05/1.335, allocations: 3.328 kB / 1.284 GB, free: 7.137 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.184e-05/1.335, allocations: 6.672 kB / 1.284 GB, free: 7.137 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/1.335, allocations: 10.94 kB / 1.284 GB, free: 7.129 MB / 1.139 GB Notification: Performance of sorting global known variables: time 4.682e-05/1.335, allocations: 77.3 kB / 1.284 GB, free: 7.055 MB / 1.139 GB Notification: Performance of sort global known variables: time 9e-08/1.335, allocations: 4.094 kB / 1.284 GB, free: 7.051 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0002007/1.335, allocations: 16.62 kB / 1.284 GB, free: 7.047 MB / 1.139 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.0001217/1.335, allocations: 101.4 kB / 1.284 GB, free: 6.953 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0001513/1.336, allocations: 51.16 kB / 1.284 GB, free: 6.941 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/1.336, allocations: 0 / 1.284 GB, free: 6.941 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 4.479e-05/1.336, allocations: 28.22 kB / 1.284 GB, free: 6.934 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002435/1.336, allocations: 12.44 kB / 1.284 GB, free: 6.926 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006154/1.337, allocations: 324.9 kB / 1.284 GB, free: 6.656 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.379e-05/1.337, allocations: 74.12 kB / 1.285 GB, free: 6.582 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 5.214e-05/1.337, allocations: 9.422 kB / 1.285 GB, free: 6.578 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.383e-05/1.337, allocations: 13.06 kB / 1.285 GB, free: 6.57 MB / 1.139 GB Notification: Performance of SimCode: time 3e-07/1.337, allocations: 0 / 1.285 GB, free: 6.57 MB / 1.139 GB Notification: Performance of Templates: time 0.00327/1.34, allocations: 0.6127 MB / 1.285 GB, free: 6.465 MB / 1.139 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 -s ida -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: 9.665627567912452]