Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.AirProperties.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.001795/0.001795, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.002182/0.002182, allocations: 192.6 kB / 22.17 MB, free: 5.656 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.481/1.481, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.811/2.811, allocations: 476.7 MB / 0.7645 GB, free: 10.08 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.AirProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|hLiq|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_11_Buildings.Media.Examples.AirProperties") translateModel(Buildings.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|hLiq|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_11_Buildings.Media.Examples.AirProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 67.89 kB / 1.109 GB, free: 6.512 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8808/0.8827, allocations: 168.7 MB / 1.274 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1935/1.076, allocations: 149.6 MB / 1.42 GB, free: 14.36 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.004739/1.081, allocations: 3.646 MB / 1.424 GB, free: 10.7 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/1.081, allocations: 4 kB / 1.424 GB, free: 10.7 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0003818/1.081, allocations: 63.64 kB / 1.424 GB, free: 10.64 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0003435/1.082, allocations: 147.2 kB / 1.424 GB, free: 10.49 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002729/1.085, allocations: 1.042 MB / 1.425 GB, free: 9.449 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0004166/1.085, allocations: 315.7 kB / 1.425 GB, free: 9.141 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 5.662e-05/1.085, allocations: 13.55 kB / 1.425 GB, free: 9.129 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004041/1.085, allocations: 197.8 kB / 1.425 GB, free: 8.938 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002128/1.086, allocations: 139.5 kB / 1.426 GB, free: 8.801 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 2.57e-05/1.086, allocations: 12 kB / 1.426 GB, free: 8.789 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002237/1.088, allocations: 1.29 MB / 1.427 GB, free: 7.496 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001079/1.088, allocations: 71.78 kB / 1.427 GB, free: 7.426 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001234/1.088, allocations: 107.5 kB / 1.427 GB, free: 7.32 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0011/1.089, allocations: 0.6348 MB / 1.428 GB, free: 6.684 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/1.089, allocations: 0 / 1.428 GB, free: 6.684 MB / 1.123 GB Notification: Performance of FrontEnd: time 3.406e-06/1.089, allocations: 7.938 kB / 1.428 GB, free: 6.676 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.113e-06/1.089, allocations: 0 / 1.428 GB, free: 6.676 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001259/1.09, allocations: 0.5958 MB / 1.428 GB, free: 6.031 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/1.091, allocations: 8.031 kB / 1.428 GB, free: 6.023 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001164/1.092, allocations: 136.7 kB / 1.428 GB, free: 5.891 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003038/1.092, allocations: 220.1 kB / 1.429 GB, free: 5.637 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/1.092, allocations: 16.31 kB / 1.429 GB, free: 5.621 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.403e-05/1.092, allocations: 16 kB / 1.429 GB, free: 5.605 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005883/1.093, allocations: 338.3 kB / 1.429 GB, free: 5.25 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/1.093, allocations: 4 kB / 1.429 GB, free: 5.246 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.382e-05/1.093, allocations: 8 kB / 1.429 GB, free: 5.238 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.097e-05/1.093, allocations: 15.98 kB / 1.429 GB, free: 5.223 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005571/1.093, allocations: 324.1 kB / 1.429 GB, free: 4.906 MB / 1.123 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001779/1.095, allocations: 1.117 MB / 1.43 GB, free: 3.699 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004911/1.096, allocations: 174.5 kB / 1.431 GB, free: 3.52 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001364/1.096, allocations: 84.73 kB / 1.431 GB, free: 3.434 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005866/1.096, allocations: 465.4 kB / 1.431 GB, free: 2.887 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/1.096, allocations: 30.56 kB / 1.431 GB, free: 2.848 MB / 1.123 GB Notification: Performance of pre-optimization done (n=21): time 1.443e-06/1.096, allocations: 0 / 1.431 GB, free: 2.848 MB / 1.123 GB Notification: Performance of matching and sorting (n=21): time 0.0006981/1.097, allocations: 270.9 kB / 1.431 GB, free: 2.578 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/1.097, allocations: 51.41 kB / 1.431 GB, free: 2.516 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002161/1.097, allocations: 203.2 kB / 1.432 GB, free: 2.305 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 3.367e-05/1.097, allocations: 29.7 kB / 1.432 GB, free: 2.27 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/1.097, allocations: 152.2 kB / 1.432 GB, free: 2.117 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 7.058e-05/1.097, allocations: 87.3 kB / 1.432 GB, free: 2.031 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.351e-05/1.098, allocations: 53.66 kB / 1.432 GB, free: 1.973 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001633/1.098, allocations: 326.8 kB / 1.432 GB, free: 1.645 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/1.098, allocations: 72.16 kB / 1.432 GB, free: 1.574 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002027/1.098, allocations: 160.8 kB / 1.432 GB, free: 1.379 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003429/1.098, allocations: 245.6 kB / 1.433 GB, free: 1.102 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/1.098, allocations: 7.938 kB / 1.433 GB, free: 1.094 MB / 1.123 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005341/1.099, allocations: 281.1 kB / 1.433 GB, free: 0.8125 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/1.099, allocations: 4 kB / 1.433 GB, free: 0.8086 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/1.099, allocations: 7.984 kB / 1.433 GB, free: 0.8008 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/1.099, allocations: 11.92 kB / 1.433 GB, free: 0.7891 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000277/1.099, allocations: 60.3 kB / 1.433 GB, free: 0.7305 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.309e-05/1.099, allocations: 11.94 kB / 1.433 GB, free: 0.7188 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002033/1.099, allocations: 31.78 kB / 1.433 GB, free: 0.6875 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.661e-05/1.1, allocations: 11.98 kB / 1.433 GB, free: 0.6758 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001409/1.1, allocations: 133.8 kB / 1.433 GB, free: 0.5352 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/1.1, allocations: 31.84 kB / 1.433 GB, free: 0.5039 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004887/1.1, allocations: 273.9 kB / 1.433 GB, free: 236 kB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/1.1, allocations: 3.938 kB / 1.433 GB, free: 232 kB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/1.1, allocations: 4 kB / 1.433 GB, free: 228 kB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/1.1, allocations: 4 kB / 1.433 GB, free: 224 kB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008135/1.101, allocations: 0.5837 MB / 1.434 GB, free: 15.57 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/1.101, allocations: 0 / 1.434 GB, free: 15.57 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001906/1.101, allocations: 39.92 kB / 1.434 GB, free: 15.54 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/1.101, allocations: 0 / 1.434 GB, free: 15.54 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/1.101, allocations: 4 kB / 1.434 GB, free: 15.53 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/1.101, allocations: 0 / 1.434 GB, free: 15.53 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/1.101, allocations: 4.062 kB / 1.434 GB, free: 15.53 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005526/1.102, allocations: 356.8 kB / 1.434 GB, free: 15.16 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001532/1.102, allocations: 116.9 kB / 1.435 GB, free: 15.02 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.018e-05/1.102, allocations: 4 kB / 1.435 GB, free: 15.02 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002515/1.102, allocations: 15.98 kB / 1.435 GB, free: 15 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.187e-05/1.102, allocations: 15.98 kB / 1.435 GB, free: 14.99 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.922e-05/1.102, allocations: 11.98 kB / 1.435 GB, free: 14.98 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0001439/1.103, allocations: 153.4 kB / 1.435 GB, free: 14.83 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/1.103, allocations: 0 / 1.435 GB, free: 14.83 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0004996/1.103, allocations: 123.7 kB / 1.435 GB, free: 14.71 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0004356/1.103, allocations: 223.1 kB / 1.435 GB, free: 14.48 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0003974/1.104, allocations: 198 kB / 1.435 GB, free: 14.29 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/1.104, allocations: 0 / 1.435 GB, free: 14.29 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001536/1.104, allocations: 92.58 kB / 1.435 GB, free: 14.2 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006439/1.105, allocations: 109.9 kB / 1.435 GB, free: 14.09 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008477/1.106, allocations: 469.3 kB / 1.436 GB, free: 13.6 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003805/1.106, allocations: 0.7367 MB / 1.437 GB, free: 12.84 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0002157/1.106, allocations: 54.25 kB / 1.437 GB, free: 12.79 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.507e-05/1.106, allocations: 27.44 kB / 1.437 GB, free: 12.76 MB / 1.139 GB Notification: Performance of SimCode: time 5.01e-07/1.106, allocations: 0 / 1.437 GB, free: 12.76 MB / 1.139 GB Notification: Performance of Templates: time 0.011/1.117, allocations: 5.626 MB / 1.442 GB, free: 7.203 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Media.Examples.AirProperties.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_11_Buildings.Media.Examples.AirProperties.sim & ./Buildings_11_Buildings.Media.Examples.AirProperties -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.AirProperties.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Examples.AirProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_AirProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.AirProperties.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.411153014749289]