Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.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.001288/0.001288, allocations: 110.5 kB / 19.69 MB, free: 2.254 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.001452/0.001452, allocations: 215.3 kB / 23.01 MB, free: 4.566 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.45/1.45, allocations: 230.6 MB / 256.8 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.754/2.754, allocations: 476.8 MB / 0.7714 GB, free: 4.344 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_11_Buildings.Media.Examples.AirDerivativeCheck") translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_11_Buildings.Media.Examples.AirDerivativeCheck") [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.002049/0.002049, allocations: 67.72 kB / 1.119 GB, free: 40.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3115, allocations: 170 MB / 1.285 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002415/0.3139, allocations: 1.362 MB / 1.286 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1849/0.4989, allocations: 151.4 MB / 1.434 GB, free: 1.914 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.633e-05/0.4989, allocations: 0 / 1.434 GB, free: 1.914 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 4.592e-05/0.499, allocations: 11.92 kB / 1.434 GB, free: 1.902 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.4991, allocations: 11.91 kB / 1.434 GB, free: 1.891 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001028/0.5001, allocations: 342.6 kB / 1.434 GB, free: 1.555 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0001246/0.5002, allocations: 67.81 kB / 1.434 GB, free: 1.488 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 4.248e-05/0.5003, allocations: 4.562 kB / 1.434 GB, free: 1.484 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 4.796e-05/0.5003, allocations: 27.92 kB / 1.434 GB, free: 1.457 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.5004, allocations: 39.83 kB / 1.434 GB, free: 1.418 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.5004, allocations: 0 / 1.434 GB, free: 1.418 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009158/0.5013, allocations: 442.6 kB / 1.435 GB, free: 0.9844 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 5.568e-05/0.5014, allocations: 27.91 kB / 1.435 GB, free: 0.957 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 4.342e-05/0.5014, allocations: 27.92 kB / 1.435 GB, free: 0.9297 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0003287/0.5018, allocations: 155.5 kB / 1.435 GB, free: 0.7773 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.5018, allocations: 0 / 1.435 GB, free: 0.7773 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.392e-06/0.5018, allocations: 0 / 1.435 GB, free: 0.7773 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.129e-05/0.5018, allocations: 0 / 1.435 GB, free: 0.7773 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004958/0.5023, allocations: 314 kB / 1.435 GB, free: 452 kB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.5023, allocations: 12.03 kB / 1.435 GB, free: 440 kB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000417/0.5027, allocations: 44.78 kB / 1.435 GB, free: 396 kB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.5029, allocations: 110.5 kB / 1.435 GB, free: 260 kB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.5029, allocations: 11.88 kB / 1.435 GB, free: 248 kB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.626e-05/0.5029, allocations: 12 kB / 1.435 GB, free: 236 kB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001893/0.5031, allocations: 81.64 kB / 1.435 GB, free: 148 kB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.5031, allocations: 0 / 1.435 GB, free: 148 kB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.5031, allocations: 0 / 1.435 GB, free: 148 kB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.5031, allocations: 4 kB / 1.435 GB, free: 144 kB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.252e-05/0.5032, allocations: 43.95 kB / 1.435 GB, free: 100 kB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002284/0.5034, allocations: 168.5 kB / 1.436 GB, free: 15.89 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000188/0.5036, allocations: 86.56 kB / 1.436 GB, free: 15.8 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.606e-05/0.5037, allocations: 32.84 kB / 1.436 GB, free: 15.76 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001824/0.5039, allocations: 19.98 kB / 1.436 GB, free: 15.74 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.874e-05/0.5039, allocations: 38.56 kB / 1.436 GB, free: 15.7 MB / 1.139 GB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/0.5039, allocations: 336 / 1.436 GB, free: 15.7 MB / 1.139 GB Notification: Performance of matching and sorting (n=19): time 0.001314/0.5052, allocations: 479.1 kB / 1.436 GB, free: 15.2 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/0.5053, allocations: 59.41 kB / 1.436 GB, free: 15.12 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.404e-05/0.5053, allocations: 97.8 kB / 1.436 GB, free: 15.02 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.646e-05/0.5054, allocations: 37.64 kB / 1.436 GB, free: 14.98 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 3.931e-05/0.5054, allocations: 80.52 kB / 1.437 GB, free: 14.89 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 7.087e-05/0.5055, allocations: 71.38 kB / 1.437 GB, free: 14.82 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.423e-05/0.5055, allocations: 41.7 kB / 1.437 GB, free: 14.78 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.5057, allocations: 318.8 kB / 1.437 GB, free: 14.46 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.181e-05/0.5058, allocations: 40.09 kB / 1.437 GB, free: 14.42 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.182e-05/0.5059, allocations: 67.41 kB / 1.437 GB, free: 14.34 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001676/0.506, allocations: 111.4 kB / 1.437 GB, free: 14.22 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.506, allocations: 0 / 1.437 GB, free: 14.22 MB / 1.139 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.00024/0.5063, allocations: 161.5 kB / 1.437 GB, free: 14.05 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.5063, allocations: 7.938 kB / 1.437 GB, free: 14.05 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.5063, allocations: 0 / 1.437 GB, free: 14.05 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.5063, allocations: 8 kB / 1.437 GB, free: 14.04 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001711/0.5065, allocations: 35.98 kB / 1.437 GB, free: 14 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.5065, allocations: 3.938 kB / 1.437 GB, free: 14 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.498e-05/0.5065, allocations: 8.125 kB / 1.437 GB, free: 13.99 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.5065, allocations: 8 kB / 1.437 GB, free: 13.98 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * 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.0001036/0.5067, allocations: 125.8 kB / 1.437 GB, free: 13.85 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.093e-05/0.5067, allocations: 7.953 kB / 1.437 GB, free: 13.84 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.989e-05/0.5067, allocations: 20.47 kB / 1.438 GB, free: 13.83 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.5067, allocations: 0 / 1.438 GB, free: 13.83 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.5067, allocations: 7.938 kB / 1.438 GB, free: 13.82 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.5067, allocations: 0 / 1.438 GB, free: 13.82 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001632/0.5069, allocations: 164.7 kB / 1.438 GB, free: 13.62 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.5069, allocations: 3.938 kB / 1.438 GB, free: 13.61 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001985/0.5071, allocations: 39.92 kB / 1.438 GB, free: 13.57 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.5071, allocations: 0 / 1.438 GB, free: 13.57 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.5071, allocations: 11.98 kB / 1.438 GB, free: 13.56 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.5071, allocations: 0 / 1.438 GB, free: 13.56 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.5071, allocations: 3.938 kB / 1.438 GB, free: 13.56 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003099/0.5074, allocations: 201 kB / 1.438 GB, free: 13.34 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 5.9e-05/0.5075, allocations: 20 kB / 1.438 GB, free: 13.32 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.5075, allocations: 0 / 1.438 GB, free: 13.32 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.5076, allocations: 15.97 kB / 1.438 GB, free: 13.31 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.864e-05/0.5077, allocations: 15.86 kB / 1.438 GB, free: 13.29 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.5077, allocations: 8 kB / 1.438 GB, free: 13.29 MB / 1.139 GB Notification: Performance of sorting global known variables: time 4.091e-05/0.5077, allocations: 83.22 kB / 1.438 GB, free: 13.2 MB / 1.139 GB Notification: Performance of sort global known variables: time 7e-08/0.5077, allocations: 0 / 1.438 GB, free: 13.2 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0002278/0.5079, allocations: 32.09 kB / 1.438 GB, free: 13.17 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * 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 (19): * Single equations (assignments): 19 * 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.0001301/0.5081, allocations: 107.2 kB / 1.438 GB, free: 13.05 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0002037/0.5083, allocations: 99.83 kB / 1.438 GB, free: 12.96 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5083, allocations: 0 / 1.438 GB, free: 12.96 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 7.848e-05/0.5084, allocations: 49.98 kB / 1.438 GB, free: 12.91 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.5086, allocations: 19.98 kB / 1.438 GB, free: 12.89 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000869/0.5095, allocations: 0.5465 MB / 1.439 GB, free: 12.31 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.5098, allocations: 0.7047 MB / 1.44 GB, free: 11.58 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.041e-05/0.5099, allocations: 15.44 kB / 1.44 GB, free: 11.56 MB / 1.139 GB Notification: Performance of SimCode: time 3.4e-07/0.5099, allocations: 0 / 1.44 GB, free: 11.56 MB / 1.139 GB Notification: Performance of Templates: time 0.003026/0.5129, allocations: 1.307 MB / 1.441 GB, free: 10.26 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_11_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Examples.AirDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_AirDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.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: 11.259895527997287]