Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001355/0.001355, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.0016/0.0016, allocations: 198.7 kB / 22.17 MB, free: 5.211 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.412/1.412, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.621/2.621, allocations: 443.5 MB / 0.732 GB, free: 12.5 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002155/0.002155, allocations: 67.89 kB / 1.061 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7449/0.7471, allocations: 160.7 MB / 1.218 GB, free: 4.098 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002385/0.7495, allocations: 1.293 MB / 1.219 GB, free: 3.074 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.1803/0.9297, allocations: 147.5 MB / 1.363 GB, free: 2.273 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.761e-05/0.9298, allocations: 0 / 1.363 GB, free: 2.273 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.522e-05/0.9298, allocations: 7.922 kB / 1.363 GB, free: 2.266 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.306e-05/0.9299, allocations: 0 / 1.363 GB, free: 2.266 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005455/0.9304, allocations: 99.56 kB / 1.364 GB, free: 2.168 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.617e-05/0.9305, allocations: 35.8 kB / 1.364 GB, free: 2.133 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.319e-05/0.9306, allocations: 7.969 kB / 1.364 GB, free: 2.125 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.728e-05/0.9306, allocations: 12 kB / 1.364 GB, free: 2.113 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.366e-05/0.9307, allocations: 15.92 kB / 1.364 GB, free: 2.098 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.155e-05/0.9307, allocations: 3.938 kB / 1.364 GB, free: 2.094 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002984/0.931, allocations: 87.81 kB / 1.364 GB, free: 2.008 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.31e-05/0.931, allocations: 0 / 1.364 GB, free: 2.008 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.633e-05/0.9311, allocations: 23.91 kB / 1.364 GB, free: 1.984 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001742/0.9312, allocations: 62.5 kB / 1.364 GB, free: 1.926 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.9312, allocations: 4 kB / 1.364 GB, free: 1.922 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.943e-06/0.9312, allocations: 0 / 1.364 GB, free: 1.922 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.9312, allocations: 0 / 1.364 GB, free: 1.922 MB / 1.061 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.0004899/0.9317, allocations: 359.2 kB / 1.364 GB, free: 1.523 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.9318, allocations: 8.625 kB / 1.364 GB, free: 1.516 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002112/0.932, allocations: 8.938 kB / 1.364 GB, free: 1.508 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.9321, allocations: 164.4 kB / 1.364 GB, free: 1.309 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.9321, allocations: 7.938 kB / 1.364 GB, free: 1.301 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.869e-05/0.9322, allocations: 15.95 kB / 1.364 GB, free: 1.285 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.9323, allocations: 45.69 kB / 1.364 GB, free: 1.234 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.9323, allocations: 0 / 1.364 GB, free: 1.234 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/0.9323, allocations: 7.938 kB / 1.364 GB, free: 1.227 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.9323, allocations: 0 / 1.364 GB, free: 1.227 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.082e-05/0.9324, allocations: 11.98 kB / 1.364 GB, free: 1.215 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002046/0.9326, allocations: 173.5 kB / 1.365 GB, free: 0.9961 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.9327, allocations: 50.62 kB / 1.365 GB, free: 0.9375 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.711e-05/0.9327, allocations: 12.86 kB / 1.365 GB, free: 0.9219 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.251e-05/0.9327, allocations: 4 kB / 1.365 GB, free: 0.918 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.9328, allocations: 34.56 kB / 1.365 GB, free: 0.875 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 4.268e-06/0.9328, allocations: 3.984 kB / 1.365 GB, free: 0.8711 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.0008006/0.9336, allocations: 370.1 kB / 1.365 GB, free: 468 kB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.229e-05/0.9336, allocations: 59.41 kB / 1.365 GB, free: 396 kB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.394e-05/0.9337, allocations: 89.86 kB / 1.365 GB, free: 296 kB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.9337, allocations: 29.7 kB / 1.365 GB, free: 260 kB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.782e-05/0.9338, allocations: 80.14 kB / 1.365 GB, free: 176 kB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.09e-05/0.9338, allocations: 43.78 kB / 1.365 GB, free: 132 kB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.776e-05/0.9339, allocations: 33.7 kB / 1.365 GB, free: 92 kB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.934, allocations: 318.8 kB / 1.366 GB, free: 15.77 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.857e-05/0.9341, allocations: 19.98 kB / 1.366 GB, free: 15.75 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.479e-05/0.9341, allocations: 37.83 kB / 1.366 GB, free: 15.71 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.878e-05/0.9342, allocations: 62.14 kB / 1.366 GB, free: 15.64 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.9342, allocations: 0 / 1.366 GB, free: 15.64 MB / 1.076 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001546/0.9344, allocations: 101.6 kB / 1.366 GB, free: 15.54 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.9344, allocations: 4 kB / 1.366 GB, free: 15.53 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.9344, allocations: 0 / 1.366 GB, free: 15.53 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.9344, allocations: 4 kB / 1.366 GB, free: 15.53 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.9345, allocations: 27.88 kB / 1.366 GB, free: 15.5 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.9345, allocations: 4 kB / 1.366 GB, free: 15.5 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.422e-05/0.9346, allocations: 4 kB / 1.366 GB, free: 15.49 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.9346, allocations: 4 kB / 1.366 GB, free: 15.49 MB / 1.076 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.749e-05/0.9347, allocations: 119.3 kB / 1.366 GB, free: 15.36 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.887e-05/0.9347, allocations: 7.953 kB / 1.366 GB, free: 15.36 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.697e-05/0.9347, allocations: 11.97 kB / 1.366 GB, free: 15.34 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.9347, allocations: 4 kB / 1.366 GB, free: 15.34 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.9347, allocations: 0 / 1.366 GB, free: 15.34 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.9348, allocations: 0 / 1.366 GB, free: 15.34 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001537/0.9349, allocations: 173.6 kB / 1.366 GB, free: 15.12 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.9349, allocations: 0 / 1.366 GB, free: 15.12 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000134/0.935, allocations: 27.92 kB / 1.366 GB, free: 15.09 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.935, allocations: 0 / 1.366 GB, free: 15.09 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.9351, allocations: 4 kB / 1.366 GB, free: 15.09 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.9351, allocations: 4 kB / 1.366 GB, free: 15.08 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.9351, allocations: 0 / 1.366 GB, free: 15.08 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002526/0.9353, allocations: 128.9 kB / 1.366 GB, free: 14.94 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.9354, allocations: 89.14 kB / 1.366 GB, free: 14.83 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.9354, allocations: 4 kB / 1.366 GB, free: 14.83 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.966e-05/0.9355, allocations: 4 kB / 1.366 GB, free: 14.82 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.917e-05/0.9356, allocations: 11.98 kB / 1.366 GB, free: 14.81 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.918e-06/0.9356, allocations: 4 kB / 1.366 GB, free: 14.81 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.873e-05/0.9356, allocations: 79.22 kB / 1.367 GB, free: 14.73 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.9356, allocations: 0 / 1.367 GB, free: 14.73 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002258/0.9358, allocations: 19.94 kB / 1.367 GB, free: 14.71 MB / 1.076 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.0001561/0.936, allocations: 107.3 kB / 1.367 GB, free: 14.6 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000177/0.9362, allocations: 59.89 kB / 1.367 GB, free: 14.54 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.9362, allocations: 0 / 1.367 GB, free: 14.54 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 4.291e-05/0.9362, allocations: 24.16 kB / 1.367 GB, free: 14.52 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/0.9365, allocations: 12.2 kB / 1.367 GB, free: 14.5 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007673/0.9373, allocations: 344.6 kB / 1.367 GB, free: 14.14 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003898/0.9377, allocations: 0.6807 MB / 1.368 GB, free: 13.43 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 6.089e-05/0.9378, allocations: 12.66 kB / 1.368 GB, free: 13.42 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.204e-05/0.9378, allocations: 15.44 kB / 1.368 GB, free: 13.41 MB / 1.076 GB Notification: Performance of SimCode: time 3.31e-07/0.9378, allocations: 4 kB / 1.368 GB, free: 13.4 MB / 1.076 GB Notification: Performance of Templates: time 0.0043/0.9421, allocations: 0.6588 MB / 1.368 GB, free: 12.75 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 8.41016795206815]