Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.AirProperties.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.001618/0.001618, allocations: 88.39 kB / 20.23 MB, free: 4.172 MB / 18.57 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.001663/0.001663, allocations: 161.3 kB / 23.55 MB, free: 0.8633 MB / 18.57 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.513/1.513, allocations: 177.1 MB / 203.9 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.889/2.889, allocations: 377.8 MB / 0.6232 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.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_12_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_12_Buildings.Media.Examples.AirProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 0.8108 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.877e-05/3.064e-05, allocations: 2.312 kB / 0.8108 GB, free: 0.9531 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.2741/0.2741, allocations: 131.1 MB / 0.9388 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00765/0.2818, allocations: 3.306 MB / 0.9421 GB, free: 10.13 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002096/0.282, allocations: 4 kB / 0.9421 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0005645/0.2825, allocations: 59.59 kB / 0.9421 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0006355/0.2832, allocations: 155 kB / 0.9423 GB, free: 9.914 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.004446/0.2876, allocations: 1.073 MB / 0.9433 GB, free: 8.836 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0007194/0.2883, allocations: 327.5 kB / 0.9436 GB, free: 8.516 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 9.002e-05/0.2884, allocations: 13.69 kB / 0.9436 GB, free: 8.5 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008274/0.2892, allocations: 251.1 kB / 0.9439 GB, free: 8.254 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003561/0.2896, allocations: 119.6 kB / 0.944 GB, free: 8.137 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 5.511e-05/0.2897, allocations: 12 kB / 0.944 GB, free: 8.125 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003543/0.2932, allocations: 1.067 MB / 0.9451 GB, free: 7.055 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001802/0.2934, allocations: 79.78 kB / 0.9451 GB, free: 6.977 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0002059/0.2936, allocations: 83.83 kB / 0.9452 GB, free: 6.895 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0022/0.2958, allocations: 0.6699 MB / 0.9459 GB, free: 6.223 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.2958, allocations: 0 / 0.9459 GB, free: 6.223 MB / 0.8542 GB Notification: Performance of FrontEnd: time 4.539e-06/0.2958, allocations: 4 kB / 0.9459 GB, free: 6.219 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.043e-05/0.2958, allocations: 0 / 0.9459 GB, free: 6.219 MB / 0.8542 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.001861/0.2977, allocations: 0.5204 MB / 0.9464 GB, free: 5.668 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.435e-05/0.2977, allocations: 8.031 kB / 0.9464 GB, free: 5.66 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002121/0.2998, allocations: 240.1 kB / 0.9466 GB, free: 5.426 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004404/0.3003, allocations: 165.5 kB / 0.9468 GB, free: 5.238 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.151e-05/0.3003, allocations: 16.75 kB / 0.9468 GB, free: 5.223 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.372e-05/0.3004, allocations: 24.38 kB / 0.9468 GB, free: 5.199 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001183/0.3016, allocations: 0.5857 MB / 0.9474 GB, free: 4.535 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.3016, allocations: 3.938 kB / 0.9474 GB, free: 4.531 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.058e-05/0.3016, allocations: 8 kB / 0.9474 GB, free: 4.523 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.232e-05/0.3017, allocations: 15.98 kB / 0.9474 GB, free: 4.508 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000935/0.3026, allocations: 316.2 kB / 0.9477 GB, free: 4.199 MB / 0.8542 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.002524/0.3052, allocations: 0.9036 MB / 0.9486 GB, free: 3.25 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007774/0.3059, allocations: 182.3 kB / 0.9488 GB, free: 3.062 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002384/0.3062, allocations: 76.81 kB / 0.9488 GB, free: 2.984 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005431/0.3067, allocations: 79.92 kB / 0.9489 GB, free: 2.906 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.469e-05/0.3068, allocations: 38.56 kB / 0.949 GB, free: 2.859 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=21): time 2.264e-06/0.3068, allocations: 0 / 0.949 GB, free: 2.859 MB / 0.8542 GB Notification: Performance of matching and sorting (n=21): time 0.001139/0.3079, allocations: 270.7 kB / 0.9492 GB, free: 2.59 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.607e-05/0.308, allocations: 55.41 kB / 0.9493 GB, free: 2.523 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003008/0.3083, allocations: 176.2 kB / 0.9494 GB, free: 2.344 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.378e-05/0.3083, allocations: 29.7 kB / 0.9495 GB, free: 2.309 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/0.3085, allocations: 160.2 kB / 0.9496 GB, free: 2.148 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.3086, allocations: 75.33 kB / 0.9497 GB, free: 2.074 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001479/0.3088, allocations: 53.66 kB / 0.9497 GB, free: 2.016 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002464/0.309, allocations: 322.8 kB / 0.95 GB, free: 1.691 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002436/0.3092, allocations: 72.22 kB / 0.9501 GB, free: 1.617 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003379/0.3096, allocations: 161 kB / 0.9503 GB, free: 1.422 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006131/0.3102, allocations: 249 kB / 0.9505 GB, free: 1.141 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.3102, allocations: 0 / 0.9505 GB, free: 1.141 MB / 0.8542 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009717/0.3112, allocations: 307.7 kB / 0.9508 GB, free: 0.8359 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.3112, allocations: 8 kB / 0.9508 GB, free: 0.8281 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.3112, allocations: 0 / 0.9508 GB, free: 0.8281 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.892e-05/0.3112, allocations: 8 kB / 0.9508 GB, free: 0.8203 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003923/0.3116, allocations: 51.92 kB / 0.9509 GB, free: 0.7695 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.093e-05/0.3116, allocations: 7.938 kB / 0.9509 GB, free: 0.7617 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003389/0.312, allocations: 23.84 kB / 0.9509 GB, free: 0.7383 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.161e-05/0.312, allocations: 12.09 kB / 0.9509 GB, free: 0.7266 MB / 0.8542 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.0004687/0.3125, allocations: 150 kB / 0.951 GB, free: 0.5703 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002467/0.3128, allocations: 39.83 kB / 0.9511 GB, free: 0.5312 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008107/0.3136, allocations: 276.2 kB / 0.9513 GB, free: 260 kB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.3136, allocations: 0 / 0.9513 GB, free: 260 kB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.3136, allocations: 3.984 kB / 0.9514 GB, free: 256 kB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.3136, allocations: 3.938 kB / 0.9514 GB, free: 252 kB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001255/0.3148, allocations: 0.5123 MB / 0.9519 GB, free: 15.69 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.84e-06/0.3148, allocations: 0 / 0.9519 GB, free: 15.69 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002653/0.3151, allocations: 31.98 kB / 0.9519 GB, free: 15.66 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.7e-06/0.3151, allocations: 4.062 kB / 0.9519 GB, free: 15.66 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.831e-05/0.3151, allocations: 7.938 kB / 0.9519 GB, free: 15.65 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.067e-06/0.3152, allocations: 7.922 kB / 0.9519 GB, free: 15.64 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3152, allocations: 0 / 0.9519 GB, free: 15.64 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009535/0.3161, allocations: 364.9 kB / 0.9523 GB, free: 15.26 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000171/0.3163, allocations: 35.81 kB / 0.9523 GB, free: 15.23 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.606e-05/0.3163, allocations: 11.94 kB / 0.9523 GB, free: 15.21 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003984/0.3167, allocations: 11.98 kB / 0.9523 GB, free: 15.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.289e-05/0.3168, allocations: 15.92 kB / 0.9523 GB, free: 15.19 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.496e-05/0.3169, allocations: 19.98 kB / 0.9523 GB, free: 15.17 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000172/0.317, allocations: 115.2 kB / 0.9525 GB, free: 15.05 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.317, allocations: 3.938 kB / 0.9525 GB, free: 15.05 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0009266/0.318, allocations: 131.7 kB / 0.9526 GB, free: 14.92 MB / 0.8698 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.0007831/0.3187, allocations: 226.8 kB / 0.9528 GB, free: 14.69 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000678/0.3194, allocations: 207.2 kB / 0.953 GB, free: 14.49 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/0.3194, allocations: 4 kB / 0.953 GB, free: 14.49 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002713/0.3197, allocations: 87.89 kB / 0.9531 GB, free: 14.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.3207, allocations: 103.2 kB / 0.9532 GB, free: 14.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.322, allocations: 430.2 kB / 0.9536 GB, free: 13.86 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000218/0.3222, allocations: 124.4 kB / 0.9537 GB, free: 13.71 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0003762/0.3226, allocations: 45.59 kB / 0.9538 GB, free: 13.67 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001301/0.3227, allocations: 28.5 kB / 0.9538 GB, free: 13.64 MB / 0.8698 GB Notification: Performance of SimCode: time 6.11e-07/0.3227, allocations: 0 / 0.9538 GB, free: 13.64 MB / 0.8698 GB Notification: Performance of Templates: time 0.01436/0.3371, allocations: 5.151 MB / 0.9588 GB, free: 8.621 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.AirProperties.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_12_Buildings.Media.Examples.AirProperties.sim & ./Buildings_12_Buildings.Media.Examples.AirProperties -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.AirProperties.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.AirProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_AirProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.44382043404039]