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.001407/0.001407, allocations: 77.55 kB / 19.76 MB, free: 2.031 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.001479/0.001479, allocations: 162 kB / 23.01 MB, free: 4.949 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.431/1.431, allocations: 177.2 MB / 203.4 MB, free: 8.941 MB / 190.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.657/2.657, allocations: 359.1 MB / 0.6044 GB, free: 14.84 MB / 0.5762 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.002386/0.002386, allocations: 78.11 kB / 0.9515 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3287, allocations: 169.9 MB / 1.117 GB, free: 2.555 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002982/0.3316, allocations: 1.329 MB / 1.119 GB, free: 1.215 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.7708/1.102, allocations: 130.1 MB / 1.246 GB, free: 7.441 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.654e-05/1.102, allocations: 0 / 1.246 GB, free: 7.441 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 4.903e-05/1.103, allocations: 5.906 kB / 1.246 GB, free: 7.438 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0001166/1.103, allocations: 11.56 kB / 1.246 GB, free: 7.434 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001147/1.104, allocations: 339.2 kB / 1.246 GB, free: 7.266 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0001283/1.104, allocations: 56.7 kB / 1.246 GB, free: 7.25 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 4.653e-05/1.104, allocations: 7.562 kB / 1.246 GB, free: 7.246 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 5.335e-05/1.104, allocations: 31.84 kB / 1.246 GB, free: 7.234 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/1.104, allocations: 36.84 kB / 1.246 GB, free: 7.219 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/1.104, allocations: 3.188 kB / 1.246 GB, free: 7.219 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008835/1.105, allocations: 368.7 kB / 1.247 GB, free: 7.074 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 6.447e-05/1.105, allocations: 20.55 kB / 1.247 GB, free: 7.062 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 5.216e-05/1.105, allocations: 22.34 kB / 1.247 GB, free: 7.055 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0003544/1.106, allocations: 149.4 kB / 1.247 GB, free: 7.02 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/1.106, allocations: 7.938 kB / 1.247 GB, free: 7.012 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.174e-06/1.106, allocations: 1.984 kB / 1.247 GB, free: 7.012 MB / 1.107 GB Notification: Performance of Transformations before backend: time 5.219e-06/1.106, allocations: 0 / 1.247 GB, free: 7.012 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005048/1.106, allocations: 316.5 kB / 1.247 GB, free: 6.715 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/1.106, allocations: 10.41 kB / 1.247 GB, free: 6.715 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004349/1.107, allocations: 34.94 kB / 1.247 GB, free: 6.711 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/1.107, allocations: 110.8 kB / 1.247 GB, free: 6.582 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/1.107, allocations: 10.84 kB / 1.247 GB, free: 6.574 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.442e-05/1.107, allocations: 10 kB / 1.247 GB, free: 6.57 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002702/1.107, allocations: 204.8 kB / 1.247 GB, free: 6.371 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/1.107, allocations: 0.75 kB / 1.247 GB, free: 6.371 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/1.107, allocations: 1.344 kB / 1.247 GB, free: 6.371 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.381e-06/1.107, allocations: 6.234 kB / 1.247 GB, free: 6.367 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/1.107, allocations: 48.47 kB / 1.247 GB, free: 6.355 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001932/1.107, allocations: 132.2 kB / 1.248 GB, free: 6.215 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002086/1.107, allocations: 86.47 kB / 1.248 GB, free: 6.172 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.945e-05/1.108, allocations: 39.42 kB / 1.248 GB, free: 6.148 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001771/1.108, allocations: 22.81 kB / 1.248 GB, free: 6.145 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/1.108, allocations: 38.92 kB / 1.248 GB, free: 6.102 MB / 1.107 GB Notification: Performance of pre-optimization done (n=12): time 1.203e-06/1.108, allocations: 0 / 1.248 GB, free: 6.102 MB / 1.107 GB Notification: Performance of matching and sorting (n=19): time 0.00138/1.109, allocations: 482.4 kB / 1.248 GB, free: 5.84 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/1.109, allocations: 55.06 kB / 1.248 GB, free: 5.777 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.28e-05/1.109, allocations: 97.59 kB / 1.248 GB, free: 5.676 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/1.109, allocations: 28.56 kB / 1.248 GB, free: 5.645 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 4.212e-05/1.109, allocations: 88.64 kB / 1.248 GB, free: 5.555 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 6.889e-05/1.109, allocations: 73.44 kB / 1.249 GB, free: 5.496 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.273e-05/1.109, allocations: 39.12 kB / 1.249 GB, free: 5.469 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001401/1.11, allocations: 323.4 kB / 1.249 GB, free: 5.148 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.993e-05/1.11, allocations: 38.83 kB / 1.249 GB, free: 5.137 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.649e-05/1.11, allocations: 67.23 kB / 1.249 GB, free: 5.094 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001709/1.11, allocations: 116.8 kB / 1.249 GB, free: 5.027 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/1.11, allocations: 2.531 kB / 1.249 GB, free: 5.027 MB / 1.107 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002436/1.11, allocations: 163 kB / 1.249 GB, free: 4.945 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/1.11, allocations: 5.781 kB / 1.249 GB, free: 4.945 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/1.11, allocations: 1.188 kB / 1.249 GB, free: 4.945 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/1.11, allocations: 6.781 kB / 1.249 GB, free: 4.941 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001741/1.11, allocations: 34.64 kB / 1.249 GB, free: 4.941 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/1.11, allocations: 6.922 kB / 1.249 GB, free: 4.938 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.026e-05/1.11, allocations: 6.219 kB / 1.249 GB, free: 4.934 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/1.11, allocations: 9.438 kB / 1.249 GB, free: 4.93 MB / 1.107 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.0001061/1.111, allocations: 123.9 kB / 1.249 GB, free: 4.805 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.326e-05/1.111, allocations: 8.484 kB / 1.249 GB, free: 4.801 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.849e-05/1.111, allocations: 20.16 kB / 1.249 GB, free: 4.789 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/1.111, allocations: 2.688 kB / 1.249 GB, free: 4.789 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/1.111, allocations: 0 / 1.249 GB, free: 4.789 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/1.111, allocations: 6.5 kB / 1.249 GB, free: 4.785 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001501/1.111, allocations: 133.7 kB / 1.25 GB, free: 4.645 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/1.111, allocations: 0 / 1.25 GB, free: 4.645 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002015/1.111, allocations: 39.89 kB / 1.25 GB, free: 4.641 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/1.111, allocations: 0 / 1.25 GB, free: 4.641 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/1.111, allocations: 6.172 kB / 1.25 GB, free: 4.637 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/1.111, allocations: 1.344 kB / 1.25 GB, free: 4.637 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/1.111, allocations: 0 / 1.25 GB, free: 4.637 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000339/1.111, allocations: 212.2 kB / 1.25 GB, free: 4.52 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 6.454e-05/1.111, allocations: 17.84 kB / 1.25 GB, free: 4.512 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/1.111, allocations: 6.125 kB / 1.25 GB, free: 4.508 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/1.112, allocations: 16 kB / 1.25 GB, free: 4.5 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.324e-05/1.112, allocations: 10.94 kB / 1.25 GB, free: 4.5 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/1.112, allocations: 12.25 kB / 1.25 GB, free: 4.492 MB / 1.107 GB Notification: Performance of sorting global known variables: time 4.164e-05/1.112, allocations: 78.17 kB / 1.25 GB, free: 4.418 MB / 1.107 GB Notification: Performance of sort global known variables: time 7e-08/1.112, allocations: 0 / 1.25 GB, free: 4.418 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.00024/1.112, allocations: 26.41 kB / 1.25 GB, free: 4.414 MB / 1.107 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.0001511/1.112, allocations: 102.5 kB / 1.25 GB, free: 4.32 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0002219/1.112, allocations: 109.4 kB / 1.25 GB, free: 4.285 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/1.112, allocations: 1.406 kB / 1.25 GB, free: 4.285 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 9.476e-05/1.112, allocations: 52.69 kB / 1.25 GB, free: 4.27 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/1.113, allocations: 18.14 kB / 1.25 GB, free: 4.262 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008325/1.113, allocations: 0.5022 MB / 1.251 GB, free: 3.879 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.967e-05/1.114, allocations: 82.86 kB / 1.251 GB, free: 3.809 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.000104/1.114, allocations: 22.27 kB / 1.251 GB, free: 3.801 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.188e-05/1.114, allocations: 16.66 kB / 1.251 GB, free: 3.793 MB / 1.107 GB Notification: Performance of SimCode: time 5.01e-07/1.114, allocations: 0 / 1.251 GB, free: 3.793 MB / 1.107 GB Notification: Performance of Templates: time 0.00429/1.118, allocations: 1.082 MB / 1.252 GB, free: 3.652 MB / 1.107 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 -s ida -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: 8.748683918034658]