Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00143/0.00143, allocations: 76.47 kB / 18.97 MB, free: 2.633 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.001564/0.001564, allocations: 161 kB / 22.21 MB, free: 5.316 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.395/1.395, allocations: 177.2 MB / 202.6 MB, free: 7.992 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.994/2.994, allocations: 394.1 MB / 0.6379 GB, free: 12.12 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002303/0.002303, allocations: 63.91 kB / 1.008 GB, free: 7.766 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3554/0.3577, allocations: 181.9 MB / 1.186 GB, free: 1.578 MB / 1.123 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002472/0.3602, allocations: 1.294 MB / 1.187 GB, free: 272 kB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 1.008/1.368, allocations: 129 MB / 1.313 GB, free: 30.81 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.967e-05/1.368, allocations: 0 / 1.313 GB, free: 30.81 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 2.828e-05/1.368, allocations: 1.172 kB / 1.313 GB, free: 30.81 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 8.343e-05/1.368, allocations: 6.141 kB / 1.313 GB, free: 30.8 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004963/1.369, allocations: 102.3 kB / 1.313 GB, free: 30.75 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0001004/1.369, allocations: 27.45 kB / 1.313 GB, free: 30.74 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 4.758e-05/1.369, allocations: 3.609 kB / 1.313 GB, free: 30.74 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 5.551e-05/1.369, allocations: 21.42 kB / 1.313 GB, free: 30.73 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 7.463e-05/1.369, allocations: 9.219 kB / 1.313 GB, free: 30.73 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/1.369, allocations: 1.531 kB / 1.313 GB, free: 30.73 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002709/1.369, allocations: 81.25 kB / 1.313 GB, free: 30.7 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 1.983e-05/1.369, allocations: 10.7 kB / 1.313 GB, free: 30.69 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 3.043e-05/1.369, allocations: 16.56 kB / 1.313 GB, free: 30.68 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0001914/1.37, allocations: 70.7 kB / 1.314 GB, free: 30.66 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/1.37, allocations: 1.219 kB / 1.314 GB, free: 30.66 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.503e-06/1.37, allocations: 0 / 1.314 GB, free: 30.66 MB / 1.186 GB Notification: Performance of Transformations before backend: time 5.77e-06/1.37, allocations: 0 / 1.314 GB, free: 30.66 MB / 1.186 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.0004171/1.37, allocations: 276.4 kB / 1.314 GB, free: 30.39 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/1.37, allocations: 9.344 kB / 1.314 GB, free: 30.39 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002205/1.37, allocations: 15.91 kB / 1.314 GB, free: 30.38 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.2e-05/1.37, allocations: 104.7 kB / 1.314 GB, free: 30.26 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/1.37, allocations: 9.25 kB / 1.314 GB, free: 30.25 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.798e-05/1.37, allocations: 12.14 kB / 1.314 GB, free: 30.24 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/1.371, allocations: 125 kB / 1.314 GB, free: 30.11 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/1.371, allocations: 1.625 kB / 1.314 GB, free: 30.11 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/1.371, allocations: 5.953 kB / 1.314 GB, free: 30.11 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/1.371, allocations: 0 / 1.314 GB, free: 30.11 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.386e-05/1.371, allocations: 16.16 kB / 1.314 GB, free: 30.11 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000128/1.371, allocations: 110.9 kB / 1.314 GB, free: 29.98 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/1.371, allocations: 41.98 kB / 1.314 GB, free: 29.95 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.218e-05/1.371, allocations: 21.5 kB / 1.314 GB, free: 29.93 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 1.342e-05/1.371, allocations: 0.8125 kB / 1.314 GB, free: 29.93 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/1.371, allocations: 41.39 kB / 1.314 GB, free: 29.89 MB / 1.186 GB Notification: Performance of pre-optimization done (n=7): time 1.011e-06/1.371, allocations: 0 / 1.314 GB, free: 29.89 MB / 1.186 GB Notification: Performance of matching and sorting (n=11): time 0.0007289/1.372, allocations: 292.1 kB / 1.315 GB, free: 29.68 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/1.372, allocations: 56.53 kB / 1.315 GB, free: 29.61 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.596e-05/1.372, allocations: 92.91 kB / 1.315 GB, free: 29.52 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/1.372, allocations: 27.36 kB / 1.315 GB, free: 29.48 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 2.009e-05/1.372, allocations: 85.27 kB / 1.315 GB, free: 29.4 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 3.956e-05/1.372, allocations: 39.3 kB / 1.315 GB, free: 29.37 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.05e-05/1.372, allocations: 37.5 kB / 1.315 GB, free: 29.34 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 5.179e-05/1.372, allocations: 317.2 kB / 1.315 GB, free: 29.02 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.129e-05/1.372, allocations: 22.39 kB / 1.315 GB, free: 29.01 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.989e-05/1.372, allocations: 36.56 kB / 1.315 GB, free: 28.99 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.956e-05/1.372, allocations: 67.34 kB / 1.315 GB, free: 28.95 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/1.372, allocations: 0 / 1.315 GB, free: 28.95 MB / 1.186 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000126/1.372, allocations: 92.69 kB / 1.315 GB, free: 28.89 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/1.372, allocations: 5.344 kB / 1.315 GB, free: 28.89 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/1.372, allocations: 1.031 kB / 1.315 GB, free: 28.89 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/1.372, allocations: 2.172 kB / 1.315 GB, free: 28.89 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/1.372, allocations: 22.33 kB / 1.315 GB, free: 28.89 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/1.372, allocations: 5.797 kB / 1.315 GB, free: 28.89 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.352e-05/1.372, allocations: 5.125 kB / 1.315 GB, free: 28.89 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/1.372, allocations: 3.906 kB / 1.315 GB, free: 28.89 MB / 1.186 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 6.146e-05/1.373, allocations: 125 kB / 1.316 GB, free: 28.76 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.644e-05/1.373, allocations: 12.5 kB / 1.316 GB, free: 28.75 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.342e-05/1.373, allocations: 11.97 kB / 1.316 GB, free: 28.74 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/1.373, allocations: 2.109 kB / 1.316 GB, free: 28.74 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/1.373, allocations: 1.219 kB / 1.316 GB, free: 28.74 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/1.373, allocations: 0.7969 kB / 1.316 GB, free: 28.74 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.606e-05/1.373, allocations: 115.5 kB / 1.316 GB, free: 28.61 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/1.373, allocations: 4.875 kB / 1.316 GB, free: 28.61 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001193/1.373, allocations: 21.52 kB / 1.316 GB, free: 28.61 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/1.373, allocations: 1.469 kB / 1.316 GB, free: 28.61 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-06/1.373, allocations: 4.703 kB / 1.316 GB, free: 28.6 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/1.373, allocations: 1.75 kB / 1.316 GB, free: 28.6 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/1.373, allocations: 0.625 kB / 1.316 GB, free: 28.6 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001974/1.373, allocations: 142.9 kB / 1.316 GB, free: 28.5 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 4.885e-05/1.373, allocations: 5.047 kB / 1.316 GB, free: 28.5 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/1.373, allocations: 1.312 kB / 1.316 GB, free: 28.5 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.394e-05/1.373, allocations: 7.641 kB / 1.316 GB, free: 28.5 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.363e-05/1.373, allocations: 10.23 kB / 1.316 GB, free: 28.49 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.327e-06/1.373, allocations: 3.906 kB / 1.316 GB, free: 28.49 MB / 1.186 GB Notification: Performance of sorting global known variables: time 2.061e-05/1.373, allocations: 77.34 kB / 1.316 GB, free: 28.42 MB / 1.186 GB Notification: Performance of sort global known variables: time 7e-08/1.373, allocations: 0 / 1.316 GB, free: 28.42 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0001918/1.373, allocations: 16.91 kB / 1.316 GB, free: 28.41 MB / 1.186 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 8.28e-05/1.373, allocations: 99.61 kB / 1.316 GB, free: 28.32 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0001519/1.374, allocations: 55.81 kB / 1.316 GB, free: 28.3 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/1.374, allocations: 1.594 kB / 1.316 GB, free: 28.3 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 4.091e-05/1.374, allocations: 26.58 kB / 1.316 GB, free: 28.3 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000236/1.374, allocations: 17.09 kB / 1.316 GB, free: 28.29 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005305/1.374, allocations: 317.5 kB / 1.316 GB, free: 28.03 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.764e-05/1.375, allocations: 75.94 kB / 1.317 GB, free: 27.96 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 5.195e-05/1.375, allocations: 10.06 kB / 1.317 GB, free: 27.95 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.072e-05/1.375, allocations: 13.53 kB / 1.317 GB, free: 27.95 MB / 1.186 GB Notification: Performance of SimCode: time 3.91e-07/1.375, allocations: 4 kB / 1.317 GB, free: 27.94 MB / 1.186 GB Notification: Performance of Templates: time 0.003591/1.378, allocations: 0.6076 MB / 1.317 GB, free: 27.88 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.901563249528408]