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.00167/0.00167, 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.001973/0.001973, allocations: 157.8 kB / 23 MB, free: 4.605 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.442/1.442, allocations: 177.2 MB / 203.4 MB, free: 8.98 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.921/2.921, allocations: 394.2 MB / 0.6386 GB, free: 11.96 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.002396/0.002396, allocations: 67.81 kB / 1.009 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.046/1.049, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002182/1.051, allocations: 1.291 MB / 1.188 GB, free: 15.3 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.1886/1.239, allocations: 129 MB / 1.314 GB, free: 3.605 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.554e-05/1.239, allocations: 0 / 1.314 GB, free: 3.605 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 1.918e-05/1.239, allocations: 0 / 1.314 GB, free: 3.605 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 7.726e-05/1.239, allocations: 11.92 kB / 1.314 GB, free: 3.594 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004495/1.24, allocations: 91.56 kB / 1.314 GB, free: 3.504 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 9.278e-05/1.24, allocations: 35.84 kB / 1.314 GB, free: 3.469 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 3.907e-05/1.24, allocations: 0 / 1.314 GB, free: 3.469 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 5.323e-05/1.24, allocations: 15.98 kB / 1.314 GB, free: 3.453 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 7.091e-05/1.24, allocations: 19.92 kB / 1.314 GB, free: 3.434 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/1.24, allocations: 0 / 1.314 GB, free: 3.434 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002592/1.24, allocations: 79.77 kB / 1.314 GB, free: 3.355 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 1.904e-05/1.24, allocations: 4 kB / 1.314 GB, free: 3.352 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 3.301e-05/1.24, allocations: 23.91 kB / 1.314 GB, free: 3.328 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0001712/1.241, allocations: 63.2 kB / 1.314 GB, free: 3.273 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 1.419e-05/1.241, allocations: 4 kB / 1.314 GB, free: 3.27 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.473e-06/1.241, allocations: 0 / 1.314 GB, free: 3.27 MB / 1.154 GB Notification: Performance of Transformations before backend: time 6.903e-06/1.241, allocations: 0 / 1.314 GB, free: 3.27 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.0004658/1.241, allocations: 274.2 kB / 1.314 GB, free: 2.973 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/1.241, allocations: 12.03 kB / 1.314 GB, free: 2.961 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002065/1.241, allocations: 12.89 kB / 1.314 GB, free: 2.949 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/1.241, allocations: 106.5 kB / 1.315 GB, free: 2.82 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/1.241, allocations: 15.94 kB / 1.315 GB, free: 2.805 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/1.241, allocations: 4 kB / 1.315 GB, free: 2.801 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/1.242, allocations: 126.7 kB / 1.315 GB, free: 2.652 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/1.242, allocations: 4 kB / 1.315 GB, free: 2.648 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/1.242, allocations: 0 / 1.315 GB, free: 2.648 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/1.242, allocations: 0 / 1.315 GB, free: 2.648 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.894e-05/1.242, allocations: 15.98 kB / 1.315 GB, free: 2.633 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001645/1.242, allocations: 117.2 kB / 1.315 GB, free: 2.488 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/1.242, allocations: 50.5 kB / 1.315 GB, free: 2.43 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.486e-05/1.242, allocations: 16.86 kB / 1.315 GB, free: 2.41 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/1.242, allocations: 11.92 kB / 1.315 GB, free: 2.398 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/1.242, allocations: 38.55 kB / 1.315 GB, free: 2.352 MB / 1.154 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/1.242, allocations: 3.938 kB / 1.315 GB, free: 2.348 MB / 1.154 GB Notification: Performance of matching and sorting (n=11): time 0.0007713/1.243, allocations: 289 kB / 1.315 GB, free: 2.035 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/1.243, allocations: 55.41 kB / 1.315 GB, free: 1.969 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.222e-05/1.243, allocations: 89.86 kB / 1.315 GB, free: 1.871 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.947e-05/1.243, allocations: 29.7 kB / 1.315 GB, free: 1.836 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 4.736e-05/1.243, allocations: 88.12 kB / 1.315 GB, free: 1.746 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.525e-05/1.243, allocations: 39.77 kB / 1.316 GB, free: 1.707 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.314e-05/1.243, allocations: 33.7 kB / 1.316 GB, free: 1.668 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001949/1.243, allocations: 318.8 kB / 1.316 GB, free: 1.348 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.111e-05/1.243, allocations: 19.98 kB / 1.316 GB, free: 1.328 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.166e-05/1.243, allocations: 41.7 kB / 1.316 GB, free: 1.281 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.315e-05/1.244, allocations: 57.64 kB / 1.316 GB, free: 1.219 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/1.244, allocations: 0 / 1.316 GB, free: 1.219 MB / 1.154 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002287/1.244, allocations: 101.6 kB / 1.316 GB, free: 1.113 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/1.244, allocations: 8 kB / 1.316 GB, free: 1.105 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/1.244, allocations: 0 / 1.316 GB, free: 1.105 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/1.244, allocations: 0 / 1.316 GB, free: 1.105 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/1.244, allocations: 24 kB / 1.316 GB, free: 1.082 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/1.244, allocations: 3.984 kB / 1.316 GB, free: 1.078 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.12e-05/1.244, allocations: 3.938 kB / 1.316 GB, free: 1.074 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/1.244, allocations: 8 kB / 1.316 GB, free: 1.066 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 9.978e-05/1.244, allocations: 125.7 kB / 1.316 GB, free: 0.9336 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.797e-05/1.244, allocations: 7.953 kB / 1.316 GB, free: 0.9258 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.319e-05/1.244, allocations: 7.969 kB / 1.316 GB, free: 0.9219 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/1.244, allocations: 0 / 1.316 GB, free: 0.9219 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/1.244, allocations: 4 kB / 1.316 GB, free: 0.918 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/1.244, allocations: 0 / 1.316 GB, free: 0.918 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001441/1.244, allocations: 125.2 kB / 1.316 GB, free: 0.7656 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/1.244, allocations: 0 / 1.316 GB, free: 0.7656 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001193/1.244, allocations: 16 kB / 1.316 GB, free: 0.75 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/1.244, allocations: 3.984 kB / 1.316 GB, free: 0.7461 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/1.244, allocations: 4 kB / 1.316 GB, free: 0.7422 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/1.244, allocations: 0 / 1.316 GB, free: 0.7422 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/1.244, allocations: 0 / 1.316 GB, free: 0.7422 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003125/1.245, allocations: 144.9 kB / 1.317 GB, free: 0.582 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 4.749e-05/1.245, allocations: 8.031 kB / 1.317 GB, free: 0.5742 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/1.245, allocations: 4 kB / 1.317 GB, free: 0.5703 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.477e-05/1.245, allocations: 7.938 kB / 1.317 GB, free: 0.5625 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.794e-05/1.245, allocations: 7.984 kB / 1.317 GB, free: 0.5547 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.245e-06/1.245, allocations: 8 kB / 1.317 GB, free: 0.5469 MB / 1.154 GB Notification: Performance of sorting global known variables: time 4.092e-05/1.245, allocations: 75.28 kB / 1.317 GB, free: 484 kB / 1.154 GB Notification: Performance of sort global known variables: time 1.01e-07/1.245, allocations: 4 kB / 1.317 GB, free: 480 kB / 1.154 GB Notification: Performance of remove unused functions: time 0.0001961/1.245, allocations: 16 kB / 1.317 GB, free: 464 kB / 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.0002237/1.245, allocations: 95.25 kB / 1.317 GB, free: 356 kB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0001353/1.246, allocations: 55.91 kB / 1.317 GB, free: 300 kB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.246, allocations: 0 / 1.317 GB, free: 300 kB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 3.884e-05/1.246, allocations: 28.03 kB / 1.317 GB, free: 272 kB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002601/1.246, allocations: 17.64 kB / 1.317 GB, free: 256 kB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006643/1.247, allocations: 325.1 kB / 1.317 GB, free: 15.91 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.887e-05/1.247, allocations: 67.34 kB / 1.317 GB, free: 15.82 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 5.509e-05/1.247, allocations: 12.72 kB / 1.317 GB, free: 15.81 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.368e-05/1.247, allocations: 12.5 kB / 1.317 GB, free: 15.8 MB / 1.17 GB Notification: Performance of SimCode: time 3.31e-07/1.247, allocations: 4 kB / 1.317 GB, free: 15.79 MB / 1.17 GB Notification: Performance of Templates: time 0.003262/1.25, allocations: 0.6104 MB / 1.318 GB, free: 15.2 MB / 1.17 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 -s ida -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/jenkins1/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.126291049062274]