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.001665/0.001665, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.00208/0.00208, allocations: 209.6 kB / 23.03 MB, free: 4.863 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: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.15/3.15, allocations: 0.49 GB / 0.7959 GB, free: 35.39 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002032/0.002032, allocations: 71.75 kB / 1.155 GB, free: 25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3094, allocations: 176.1 MB / 1.327 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1656/0.475, allocations: 131.1 MB / 1.455 GB, free: 13.25 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.004925/0.4799, allocations: 3.298 MB / 1.458 GB, free: 9.949 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002603/0.4802, allocations: 0 / 1.458 GB, free: 9.949 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0004356/0.4806, allocations: 55.66 kB / 1.458 GB, free: 9.895 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.000433/0.481, allocations: 143.2 kB / 1.459 GB, free: 9.754 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003077/0.4841, allocations: 1.057 MB / 1.46 GB, free: 8.695 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0004409/0.4845, allocations: 311.7 kB / 1.46 GB, free: 8.387 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 5.52e-05/0.4846, allocations: 13.73 kB / 1.46 GB, free: 8.375 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004012/0.485, allocations: 203.1 kB / 1.46 GB, free: 8.176 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001959/0.4852, allocations: 131.5 kB / 1.46 GB, free: 8.047 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 2.738e-05/0.4852, allocations: 12 kB / 1.46 GB, free: 8.035 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001789/0.487, allocations: 1.048 MB / 1.461 GB, free: 6.984 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.4871, allocations: 75.78 kB / 1.461 GB, free: 6.91 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.4872, allocations: 99.58 kB / 1.461 GB, free: 6.812 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0009699/0.4882, allocations: 0.6192 MB / 1.462 GB, free: 6.191 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.4882, allocations: 0 / 1.462 GB, free: 6.191 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.442e-06/0.4882, allocations: 0 / 1.462 GB, free: 6.191 MB / 1.154 GB Notification: Performance of Transformations before backend: time 9.939e-06/0.4882, allocations: 0 / 1.462 GB, free: 6.191 MB / 1.154 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.001089/0.4893, allocations: 0.5321 MB / 1.463 GB, free: 5.629 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.4894, allocations: 8.031 kB / 1.463 GB, free: 5.621 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001193/0.4905, allocations: 136.7 kB / 1.463 GB, free: 5.488 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002544/0.4908, allocations: 162.2 kB / 1.463 GB, free: 5.305 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/0.4908, allocations: 20.31 kB / 1.463 GB, free: 5.285 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.425e-05/0.4909, allocations: 16 kB / 1.463 GB, free: 5.27 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006949/0.4916, allocations: 0.5853 MB / 1.463 GB, free: 4.602 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.4916, allocations: 3.938 kB / 1.463 GB, free: 4.598 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.311e-05/0.4916, allocations: 15.97 kB / 1.463 GB, free: 4.582 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.244e-05/0.4916, allocations: 16 kB / 1.463 GB, free: 4.566 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005609/0.4922, allocations: 320.1 kB / 1.464 GB, free: 4.254 MB / 1.154 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.001512/0.4937, allocations: 0.9034 MB / 1.465 GB, free: 3.301 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004849/0.4942, allocations: 182.4 kB / 1.465 GB, free: 3.113 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001416/0.4943, allocations: 77.73 kB / 1.465 GB, free: 3.035 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003517/0.4947, allocations: 79.92 kB / 1.465 GB, free: 2.957 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/0.4947, allocations: 42.5 kB / 1.465 GB, free: 2.906 MB / 1.154 GB Notification: Performance of pre-optimization done (n=21): time 1.613e-06/0.4947, allocations: 0 / 1.465 GB, free: 2.906 MB / 1.154 GB Notification: Performance of matching and sorting (n=21): time 0.0006706/0.4954, allocations: 258.3 kB / 1.465 GB, free: 2.648 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.4954, allocations: 59.34 kB / 1.465 GB, free: 2.578 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.4956, allocations: 165.9 kB / 1.466 GB, free: 2.41 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/0.4956, allocations: 33.7 kB / 1.466 GB, free: 2.371 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.4957, allocations: 144.3 kB / 1.466 GB, free: 2.227 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 6.815e-05/0.4958, allocations: 83.3 kB / 1.466 GB, free: 2.145 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.575e-05/0.4959, allocations: 57.66 kB / 1.466 GB, free: 2.082 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.496, allocations: 318.8 kB / 1.466 GB, free: 1.762 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00014/0.4962, allocations: 76.22 kB / 1.466 GB, free: 1.684 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002108/0.4964, allocations: 156.2 kB / 1.466 GB, free: 1.492 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003456/0.4967, allocations: 246.9 kB / 1.467 GB, free: 1.211 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/0.4967, allocations: 7.938 kB / 1.467 GB, free: 1.203 MB / 1.154 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005338/0.4973, allocations: 278.7 kB / 1.467 GB, free: 0.9258 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.4973, allocations: 5.562 kB / 1.467 GB, free: 0.9219 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.4973, allocations: 4 kB / 1.467 GB, free: 0.918 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.4973, allocations: 7.938 kB / 1.467 GB, free: 0.9102 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002593/0.4976, allocations: 60.28 kB / 1.467 GB, free: 0.8516 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.465e-05/0.4976, allocations: 11.94 kB / 1.467 GB, free: 0.8398 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001778/0.4978, allocations: 27.78 kB / 1.467 GB, free: 0.8125 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.113e-05/0.4978, allocations: 8 kB / 1.467 GB, free: 0.8047 MB / 1.154 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.0001281/0.4979, allocations: 138 kB / 1.467 GB, free: 0.6602 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/0.4981, allocations: 19.91 kB / 1.467 GB, free: 0.6406 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005/0.4986, allocations: 278.7 kB / 1.467 GB, free: 372 kB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.4986, allocations: 3.938 kB / 1.467 GB, free: 368 kB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.4986, allocations: 0 / 1.467 GB, free: 368 kB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.4986, allocations: 11.92 kB / 1.467 GB, free: 356 kB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007221/0.4993, allocations: 0.5139 MB / 1.468 GB, free: 15.79 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.4993, allocations: 7.875 kB / 1.468 GB, free: 15.78 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001596/0.4995, allocations: 27.98 kB / 1.468 GB, free: 15.75 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.4995, allocations: 0 / 1.468 GB, free: 15.75 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.923e-05/0.4995, allocations: 8 kB / 1.468 GB, free: 15.75 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.4995, allocations: 0 / 1.468 GB, free: 15.75 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4995, allocations: 0 / 1.468 GB, free: 15.75 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005316/0.5, allocations: 351 kB / 1.468 GB, free: 15.38 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 9.934e-05/0.5001, allocations: 47.7 kB / 1.468 GB, free: 15.34 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.777e-05/0.5001, allocations: 4.062 kB / 1.468 GB, free: 15.33 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002285/0.5004, allocations: 19.98 kB / 1.468 GB, free: 15.31 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.953e-05/0.5004, allocations: 7.984 kB / 1.468 GB, free: 15.3 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.26e-05/0.5004, allocations: 15.98 kB / 1.468 GB, free: 15.29 MB / 1.17 GB Notification: Performance of sorting global known variables: time 9.647e-05/0.5005, allocations: 117.5 kB / 1.468 GB, free: 15.18 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/0.5005, allocations: 0 / 1.468 GB, free: 15.18 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0004929/0.501, allocations: 127.7 kB / 1.469 GB, free: 15.05 MB / 1.17 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.0004295/0.5015, allocations: 234.6 kB / 1.469 GB, free: 14.82 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0003898/0.5018, allocations: 209.3 kB / 1.469 GB, free: 14.61 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.5019, allocations: 0 / 1.469 GB, free: 14.61 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0001519/0.502, allocations: 92.77 kB / 1.469 GB, free: 14.52 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004767/0.5025, allocations: 67.83 kB / 1.469 GB, free: 14.46 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000817/0.5033, allocations: 494.4 kB / 1.47 GB, free: 13.94 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001286/0.5034, allocations: 120.4 kB / 1.47 GB, free: 13.8 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.049e-05/0.5035, allocations: 27.42 kB / 1.47 GB, free: 13.77 MB / 1.17 GB Notification: Performance of SimCode: time 3.4e-07/0.5035, allocations: 4 kB / 1.47 GB, free: 13.77 MB / 1.17 GB Notification: Performance of Templates: time 0.006978/0.5105, allocations: 4.068 MB / 1.474 GB, free: 9.711 MB / 1.17 GB " [Timeout remaining time 299] 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/jenkins1/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: 11.66552626201883]