Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.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.001556/0.001556, allocations: 117.7 kB / 17.13 MB, free: 5.758 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.001603/0.001603, allocations: 194.1 kB / 20.08 MB, free: 2.848 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.44/1.44, allocations: 225.6 MB / 248.5 MB, free: 3.637 MB / 190.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.65/2.65, allocations: 443.5 MB / 0.7293 GB, free: 14.54 MB / 0.5763 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.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_10_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_10_Buildings.Media.Examples.AirDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 71.89 kB / 1.057 GB, free: 2.055 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.3001, allocations: 160.7 MB / 1.214 GB, free: 1.035 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002598/0.3027, allocations: 1.341 MB / 1.215 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.7982/1.101, allocations: 148.5 MB / 1.36 GB, free: 8.121 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.823e-05/1.101, allocations: 5.125 kB / 1.36 GB, free: 8.117 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.478e-05/1.101, allocations: 5.953 kB / 1.36 GB, free: 8.113 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.428e-05/1.101, allocations: 17.22 kB / 1.36 GB, free: 8.102 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001078/1.102, allocations: 345.5 kB / 1.361 GB, free: 7.926 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000121/1.102, allocations: 62.44 kB / 1.361 GB, free: 7.906 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.708e-05/1.102, allocations: 2.734 kB / 1.361 GB, free: 7.906 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.888e-05/1.102, allocations: 32.25 kB / 1.361 GB, free: 7.895 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/1.102, allocations: 32.41 kB / 1.361 GB, free: 7.883 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/1.103, allocations: 2.812 kB / 1.361 GB, free: 7.883 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000925/1.103, allocations: 437.5 kB / 1.361 GB, free: 7.711 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.906e-05/1.103, allocations: 16.02 kB / 1.361 GB, free: 7.703 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.961e-05/1.104, allocations: 34.92 kB / 1.361 GB, free: 7.684 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003633/1.104, allocations: 153.9 kB / 1.361 GB, free: 7.641 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/1.104, allocations: 5.219 kB / 1.361 GB, free: 7.637 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.132e-06/1.104, allocations: 0 / 1.361 GB, free: 7.637 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.573e-06/1.104, allocations: 1.781 kB / 1.361 GB, free: 7.637 MB / 1.045 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.0005364/1.104, allocations: 388.7 kB / 1.362 GB, free: 7.25 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/1.104, allocations: 9.406 kB / 1.362 GB, free: 7.25 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004094/1.105, allocations: 35.94 kB / 1.362 GB, free: 7.246 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/1.105, allocations: 164.1 kB / 1.362 GB, free: 7.051 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/1.105, allocations: 15.06 kB / 1.362 GB, free: 7.039 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.226e-05/1.105, allocations: 17.7 kB / 1.362 GB, free: 7.027 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/1.105, allocations: 76.52 kB / 1.362 GB, free: 6.984 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/1.105, allocations: 0 / 1.362 GB, free: 6.984 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/1.105, allocations: 5.125 kB / 1.362 GB, free: 6.98 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/1.105, allocations: 1.312 kB / 1.362 GB, free: 6.98 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/1.105, allocations: 47.58 kB / 1.362 GB, free: 6.973 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000226/1.106, allocations: 186.4 kB / 1.362 GB, free: 6.766 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001865/1.106, allocations: 91.8 kB / 1.362 GB, free: 6.719 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.404e-05/1.106, allocations: 29.38 kB / 1.362 GB, free: 6.703 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002539/1.106, allocations: 173.9 kB / 1.363 GB, free: 6.516 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.069e-05/1.106, allocations: 37.16 kB / 1.363 GB, free: 6.473 MB / 1.045 GB Notification: Performance of pre-optimization done (n=12): time 1.082e-06/1.106, allocations: 0 / 1.363 GB, free: 6.473 MB / 1.045 GB Notification: Performance of matching and sorting (n=19): time 0.001393/1.108, allocations: 0.5441 MB / 1.363 GB, free: 6.117 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/1.108, allocations: 57.84 kB / 1.363 GB, free: 6.051 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.349e-05/1.108, allocations: 102.5 kB / 1.363 GB, free: 5.945 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/1.108, allocations: 30.58 kB / 1.363 GB, free: 5.91 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.158e-05/1.108, allocations: 82.58 kB / 1.363 GB, free: 5.828 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 7.626e-05/1.108, allocations: 73.03 kB / 1.364 GB, free: 5.77 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.919e-05/1.108, allocations: 43.17 kB / 1.364 GB, free: 5.738 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001398/1.108, allocations: 322.7 kB / 1.364 GB, free: 5.418 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.352e-05/1.108, allocations: 38.52 kB / 1.364 GB, free: 5.406 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.758e-05/1.108, allocations: 70.94 kB / 1.364 GB, free: 5.359 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001751/1.108, allocations: 118 kB / 1.364 GB, free: 5.289 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/1.108, allocations: 1.188 kB / 1.364 GB, free: 5.289 MB / 1.045 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002548/1.109, allocations: 157.6 kB / 1.364 GB, free: 5.211 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/1.109, allocations: 5.156 kB / 1.364 GB, free: 5.211 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/1.109, allocations: 1.875 kB / 1.364 GB, free: 5.211 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/1.109, allocations: 2.125 kB / 1.364 GB, free: 5.211 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00018/1.109, allocations: 43.48 kB / 1.364 GB, free: 5.207 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/1.109, allocations: 1.625 kB / 1.364 GB, free: 5.207 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.032e-05/1.109, allocations: 14.14 kB / 1.364 GB, free: 5.195 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/1.109, allocations: 4.969 kB / 1.364 GB, free: 5.195 MB / 1.045 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.0001032/1.109, allocations: 124.5 kB / 1.364 GB, free: 5.07 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.356e-05/1.109, allocations: 8.75 kB / 1.364 GB, free: 5.066 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.598e-05/1.109, allocations: 18.55 kB / 1.364 GB, free: 5.047 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/1.109, allocations: 1.344 kB / 1.364 GB, free: 5.047 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/1.109, allocations: 1.312 kB / 1.364 GB, free: 5.047 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/1.109, allocations: 5.156 kB / 1.364 GB, free: 5.043 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001998/1.109, allocations: 196.5 kB / 1.365 GB, free: 4.832 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/1.109, allocations: 1.062 kB / 1.365 GB, free: 4.832 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002007/1.11, allocations: 39.38 kB / 1.365 GB, free: 4.828 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/1.11, allocations: 1.438 kB / 1.365 GB, free: 4.828 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/1.11, allocations: 5.562 kB / 1.365 GB, free: 4.824 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/1.11, allocations: 1.312 kB / 1.365 GB, free: 4.824 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/1.11, allocations: 0 / 1.365 GB, free: 4.824 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003371/1.11, allocations: 215.9 kB / 1.365 GB, free: 4.703 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.334e-05/1.11, allocations: 98.47 kB / 1.365 GB, free: 4.598 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/1.11, allocations: 1.781 kB / 1.365 GB, free: 4.598 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/1.11, allocations: 9.641 kB / 1.365 GB, free: 4.594 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.613e-05/1.11, allocations: 8.984 kB / 1.365 GB, free: 4.594 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.743e-05/1.11, allocations: 14.14 kB / 1.365 GB, free: 4.586 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.56e-05/1.11, allocations: 76.62 kB / 1.365 GB, free: 4.512 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/1.11, allocations: 1.125 kB / 1.365 GB, free: 4.512 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002308/1.11, allocations: 25.66 kB / 1.365 GB, free: 4.508 MB / 1.045 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.0001567/1.111, allocations: 119.9 kB / 1.365 GB, free: 4.398 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002174/1.111, allocations: 99.03 kB / 1.365 GB, free: 4.375 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/1.111, allocations: 1.438 kB / 1.365 GB, free: 4.375 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 7.949e-05/1.111, allocations: 50.66 kB / 1.365 GB, free: 4.363 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/1.111, allocations: 20.42 kB / 1.365 GB, free: 4.355 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008667/1.112, allocations: 0.5372 MB / 1.366 GB, free: 3.934 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/1.112, allocations: 0.7027 MB / 1.367 GB, free: 3.234 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.085e-05/1.112, allocations: 16.22 kB / 1.367 GB, free: 3.227 MB / 1.045 GB Notification: Performance of SimCode: time 3.41e-07/1.112, allocations: 1.031 kB / 1.367 GB, free: 3.227 MB / 1.045 GB Notification: Performance of Templates: time 0.003011/1.115, allocations: 1.314 MB / 1.368 GB, free: 3.109 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_10_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Media.Examples.AirDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_AirDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.238472381141037]