Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 225.6 MB / 249.4 MB, free: 3.004 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.837/2.837, allocations: 476.7 MB / 0.7629 GB, free: 15.17 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 67.89 kB / 1.107 GB, free: 4.637 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.206/1.208, allocations: 168.7 MB / 1.272 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002525/1.211, allocations: 1.296 MB / 1.273 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.221/1.432, allocations: 147.5 MB / 1.417 GB, free: 9.809 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.454e-05/1.432, allocations: 5.281 kB / 1.417 GB, free: 9.805 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 2.718e-05/1.432, allocations: 0 / 1.417 GB, free: 9.805 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 8.878e-05/1.432, allocations: 7.922 kB / 1.417 GB, free: 9.797 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007132/1.433, allocations: 102.7 kB / 1.417 GB, free: 9.719 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.000134/1.433, allocations: 28.64 kB / 1.417 GB, free: 9.707 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 5.314e-05/1.433, allocations: 6.562 kB / 1.417 GB, free: 9.703 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 6.674e-05/1.433, allocations: 11.42 kB / 1.417 GB, free: 9.699 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 8.211e-05/1.433, allocations: 17.05 kB / 1.417 GB, free: 9.688 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/1.433, allocations: 2.25 kB / 1.417 GB, free: 9.688 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003959/1.433, allocations: 86.09 kB / 1.417 GB, free: 9.637 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 3.07e-05/1.433, allocations: 10.23 kB / 1.417 GB, free: 9.629 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 4.059e-05/1.433, allocations: 14.59 kB / 1.417 GB, free: 9.621 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0002334/1.434, allocations: 67.09 kB / 1.418 GB, free: 9.594 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/1.434, allocations: 0 / 1.418 GB, free: 9.594 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.954e-06/1.434, allocations: 0 / 1.418 GB, free: 9.594 MB / 1.107 GB Notification: Performance of Transformations before backend: time 9.407e-06/1.434, allocations: 5.062 kB / 1.418 GB, free: 9.59 MB / 1.107 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.000629/1.434, allocations: 361.5 kB / 1.418 GB, free: 9.207 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/1.434, allocations: 8.75 kB / 1.418 GB, free: 9.207 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000272/1.435, allocations: 20.94 kB / 1.418 GB, free: 9.195 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/1.435, allocations: 161.5 kB / 1.418 GB, free: 9 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/1.435, allocations: 6.125 kB / 1.418 GB, free: 8.996 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.749e-05/1.435, allocations: 7.812 kB / 1.418 GB, free: 8.992 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/1.435, allocations: 51.86 kB / 1.418 GB, free: 8.945 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/1.435, allocations: 5.031 kB / 1.418 GB, free: 8.941 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/1.435, allocations: 0 / 1.418 GB, free: 8.941 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/1.435, allocations: 1.094 kB / 1.418 GB, free: 8.941 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.429e-05/1.435, allocations: 17.14 kB / 1.418 GB, free: 8.934 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002763/1.435, allocations: 165.4 kB / 1.418 GB, free: 8.73 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/1.436, allocations: 41.91 kB / 1.418 GB, free: 8.699 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.098e-05/1.436, allocations: 17.84 kB / 1.418 GB, free: 8.684 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/1.436, allocations: 5.125 kB / 1.418 GB, free: 8.68 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.593e-05/1.436, allocations: 36.66 kB / 1.418 GB, free: 8.637 MB / 1.107 GB Notification: Performance of pre-optimization done (n=7): time 1.472e-06/1.436, allocations: 0 / 1.418 GB, free: 8.637 MB / 1.107 GB Notification: Performance of matching and sorting (n=11): time 0.0009766/1.437, allocations: 370.1 kB / 1.419 GB, free: 8.312 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/1.437, allocations: 52.56 kB / 1.419 GB, free: 8.25 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.845e-05/1.437, allocations: 103.9 kB / 1.419 GB, free: 8.141 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/1.437, allocations: 26.45 kB / 1.419 GB, free: 8.109 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 4.556e-05/1.437, allocations: 85.17 kB / 1.419 GB, free: 8.023 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 6.99e-05/1.437, allocations: 40.02 kB / 1.419 GB, free: 7.988 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.481e-05/1.437, allocations: 26.62 kB / 1.419 GB, free: 7.965 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0002018/1.437, allocations: 323.6 kB / 1.419 GB, free: 7.641 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.486e-05/1.437, allocations: 19.03 kB / 1.419 GB, free: 7.633 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.844e-05/1.437, allocations: 36.73 kB / 1.419 GB, free: 7.605 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/1.438, allocations: 72.5 kB / 1.42 GB, free: 7.555 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/1.438, allocations: 0 / 1.42 GB, free: 7.555 MB / 1.107 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002001/1.438, allocations: 92.83 kB / 1.42 GB, free: 7.496 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/1.438, allocations: 6.125 kB / 1.42 GB, free: 7.496 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/1.438, allocations: 0 / 1.42 GB, free: 7.496 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.482e-05/1.438, allocations: 1.844 kB / 1.42 GB, free: 7.496 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/1.438, allocations: 22.08 kB / 1.42 GB, free: 7.492 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/1.438, allocations: 1.562 kB / 1.42 GB, free: 7.492 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.002e-05/1.438, allocations: 4 kB / 1.42 GB, free: 7.488 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/1.438, allocations: 7.125 kB / 1.42 GB, free: 7.484 MB / 1.107 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.0001256/1.438, allocations: 125.8 kB / 1.42 GB, free: 7.355 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.879e-05/1.438, allocations: 2 kB / 1.42 GB, free: 7.355 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.821e-05/1.438, allocations: 13.03 kB / 1.42 GB, free: 7.348 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/1.438, allocations: 4.984 kB / 1.42 GB, free: 7.344 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/1.438, allocations: 0 / 1.42 GB, free: 7.344 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.859e-06/1.438, allocations: 4.828 kB / 1.42 GB, free: 7.34 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001793/1.438, allocations: 172.1 kB / 1.42 GB, free: 7.133 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/1.438, allocations: 0 / 1.42 GB, free: 7.133 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001417/1.439, allocations: 25.92 kB / 1.42 GB, free: 7.125 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/1.439, allocations: 1.125 kB / 1.42 GB, free: 7.125 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/1.439, allocations: 1.031 kB / 1.42 GB, free: 7.125 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.1e-05/1.439, allocations: 5.031 kB / 1.42 GB, free: 7.121 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/1.439, allocations: 0 / 1.42 GB, free: 7.121 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002553/1.439, allocations: 144.5 kB / 1.42 GB, free: 7.008 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 8.692e-05/1.439, allocations: 80.45 kB / 1.42 GB, free: 6.914 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.058e-05/1.439, allocations: 5.031 kB / 1.42 GB, free: 6.91 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.697e-05/1.439, allocations: 10.5 kB / 1.42 GB, free: 6.902 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.812e-05/1.439, allocations: 4.062 kB / 1.42 GB, free: 6.902 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/1.439, allocations: 6.781 kB / 1.42 GB, free: 6.898 MB / 1.107 GB Notification: Performance of sorting global known variables: time 4.321e-05/1.439, allocations: 76.66 kB / 1.42 GB, free: 6.824 MB / 1.107 GB Notification: Performance of sort global known variables: time 5e-08/1.439, allocations: 0 / 1.42 GB, free: 6.824 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0002259/1.439, allocations: 19.75 kB / 1.42 GB, free: 6.816 MB / 1.107 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.0001442/1.439, allocations: 101.9 kB / 1.42 GB, free: 6.723 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0001732/1.44, allocations: 60.55 kB / 1.42 GB, free: 6.695 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/1.44, allocations: 1.125 kB / 1.42 GB, free: 6.695 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 4.67e-05/1.44, allocations: 28.17 kB / 1.42 GB, free: 6.684 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002638/1.44, allocations: 9.828 kB / 1.421 GB, free: 6.68 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006868/1.441, allocations: 323.4 kB / 1.421 GB, free: 6.402 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003567/1.441, allocations: 0.6925 MB / 1.421 GB, free: 5.695 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 5.389e-05/1.441, allocations: 8.172 kB / 1.421 GB, free: 5.691 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.468e-05/1.441, allocations: 12.16 kB / 1.422 GB, free: 5.684 MB / 1.107 GB Notification: Performance of SimCode: time 8.22e-07/1.441, allocations: 3.938 kB / 1.422 GB, free: 5.68 MB / 1.107 GB Notification: Performance of Templates: time 0.003631/1.445, allocations: 0.6686 MB / 1.422 GB, free: 5.34 MB / 1.107 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.677238084375858]