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.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: 114.5 kB / 18.94 MB, free: 2.957 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.001594/0.001594, allocations: 219.6 kB / 22.26 MB, free: 5.117 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.525/1.525, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.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.864/2.864, allocations: 476.7 MB / 0.7707 GB, free: 4.285 MB / 0.6231 GB " [Timeout remaining time 176] 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.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: 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.002134/0.002134, allocations: 72.53 kB / 1.118 GB, free: 40.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4038/0.406, allocations: 170 MB / 1.284 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.2078/0.6138, allocations: 152.4 MB / 1.433 GB, free: 2.156 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.004676/0.6185, allocations: 3.656 MB / 1.436 GB, free: 14.49 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.972e-05/0.6186, allocations: 0 / 1.436 GB, free: 14.49 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0003697/0.619, allocations: 71.64 kB / 1.436 GB, free: 14.42 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0003205/0.6193, allocations: 135.2 kB / 1.436 GB, free: 14.29 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002549/0.6218, allocations: 1.058 MB / 1.438 GB, free: 13.22 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0004156/0.6222, allocations: 315.8 kB / 1.438 GB, free: 12.91 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.433e-05/0.6223, allocations: 13.73 kB / 1.438 GB, free: 12.9 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004169/0.6227, allocations: 207.1 kB / 1.438 GB, free: 12.7 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002042/0.6229, allocations: 139.4 kB / 1.438 GB, free: 12.56 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 2.676e-05/0.6229, allocations: 12 kB / 1.438 GB, free: 12.55 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002186/0.6251, allocations: 1.325 MB / 1.439 GB, free: 11.22 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.6252, allocations: 75.78 kB / 1.44 GB, free: 11.14 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001226/0.6254, allocations: 115.5 kB / 1.44 GB, free: 11.03 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001007/0.6264, allocations: 0.6388 MB / 1.44 GB, free: 10.39 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.6264, allocations: 0 / 1.44 GB, free: 10.39 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.472e-06/0.6264, allocations: 0 / 1.44 GB, free: 10.39 MB / 1.139 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.6264, allocations: 0 / 1.44 GB, free: 10.39 MB / 1.139 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.001154/0.6275, allocations: 0.5298 MB / 1.441 GB, free: 9.832 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.6276, allocations: 8.031 kB / 1.441 GB, free: 9.824 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001148/0.6287, allocations: 140.7 kB / 1.441 GB, free: 9.688 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002687/0.629, allocations: 162.2 kB / 1.441 GB, free: 9.504 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.629, allocations: 16.31 kB / 1.441 GB, free: 9.488 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.391e-05/0.629, allocations: 24 kB / 1.441 GB, free: 9.465 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005591/0.6296, allocations: 338.3 kB / 1.441 GB, free: 9.113 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.6296, allocations: 0 / 1.441 GB, free: 9.113 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.353e-05/0.6296, allocations: 12 kB / 1.441 GB, free: 9.102 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.238e-05/0.6297, allocations: 15.98 kB / 1.441 GB, free: 9.086 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005462/0.6302, allocations: 328.1 kB / 1.442 GB, free: 8.766 MB / 1.139 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.001704/0.6319, allocations: 1.081 MB / 1.443 GB, free: 7.602 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004919/0.6324, allocations: 190.4 kB / 1.443 GB, free: 7.406 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/0.6326, allocations: 76.81 kB / 1.443 GB, free: 7.328 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003527/0.6329, allocations: 75.78 kB / 1.443 GB, free: 7.254 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.737e-05/0.6329, allocations: 38.56 kB / 1.443 GB, free: 7.207 MB / 1.139 GB Notification: Performance of pre-optimization done (n=21): time 1.452e-06/0.6329, allocations: 0 / 1.443 GB, free: 7.207 MB / 1.139 GB Notification: Performance of matching and sorting (n=21): time 0.0006633/0.6336, allocations: 267.5 kB / 1.443 GB, free: 6.941 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.6337, allocations: 55.41 kB / 1.444 GB, free: 6.875 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002198/0.6339, allocations: 211.1 kB / 1.444 GB, free: 6.656 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.958e-05/0.6339, allocations: 25.7 kB / 1.444 GB, free: 6.625 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.634, allocations: 148.2 kB / 1.444 GB, free: 6.477 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 6.691e-05/0.6341, allocations: 79.31 kB / 1.444 GB, free: 6.398 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.622e-05/0.6342, allocations: 49.7 kB / 1.444 GB, free: 6.344 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.6343, allocations: 330.8 kB / 1.444 GB, free: 6.012 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.6345, allocations: 80.2 kB / 1.444 GB, free: 5.934 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001963/0.6347, allocations: 152.2 kB / 1.445 GB, free: 5.746 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003372/0.635, allocations: 254.1 kB / 1.445 GB, free: 5.461 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.635, allocations: 4 kB / 1.445 GB, free: 5.457 MB / 1.139 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005265/0.6355, allocations: 285.4 kB / 1.445 GB, free: 5.172 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.6355, allocations: 4 kB / 1.445 GB, free: 5.168 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.6355, allocations: 8.094 kB / 1.445 GB, free: 5.16 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.6356, allocations: 11.88 kB / 1.445 GB, free: 5.148 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002769/0.6358, allocations: 55.92 kB / 1.445 GB, free: 5.094 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/0.6359, allocations: 7.938 kB / 1.445 GB, free: 5.086 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001934/0.636, allocations: 35.73 kB / 1.445 GB, free: 5.051 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.648e-05/0.6361, allocations: 15.97 kB / 1.445 GB, free: 5.035 MB / 1.139 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.0001437/0.6362, allocations: 145.8 kB / 1.445 GB, free: 4.883 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/0.6363, allocations: 23.89 kB / 1.445 GB, free: 4.859 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000488/0.6368, allocations: 275.4 kB / 1.446 GB, free: 4.582 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.6368, allocations: 3.938 kB / 1.446 GB, free: 4.578 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.6368, allocations: 0 / 1.446 GB, free: 4.578 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.6369, allocations: 0 / 1.446 GB, free: 4.578 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007742/0.6376, allocations: 0.568 MB / 1.446 GB, free: 3.957 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.6376, allocations: 4.062 kB / 1.446 GB, free: 3.953 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000191/0.6378, allocations: 35.98 kB / 1.446 GB, free: 3.918 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.6378, allocations: 0 / 1.446 GB, free: 3.918 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/0.6378, allocations: 4 kB / 1.446 GB, free: 3.914 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.6378, allocations: 0 / 1.446 GB, free: 3.914 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.6378, allocations: 0 / 1.446 GB, free: 3.914 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005276/0.6384, allocations: 361.5 kB / 1.447 GB, free: 3.539 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.6385, allocations: 39.81 kB / 1.447 GB, free: 3.5 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.898e-05/0.6385, allocations: 7.938 kB / 1.447 GB, free: 3.492 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002336/0.6388, allocations: 11.98 kB / 1.447 GB, free: 3.48 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.644e-05/0.6388, allocations: 19.97 kB / 1.447 GB, free: 3.461 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.749e-05/0.6388, allocations: 12 kB / 1.447 GB, free: 3.449 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0001354/0.639, allocations: 157.4 kB / 1.447 GB, free: 3.297 MB / 1.139 GB Notification: Performance of sort global known variables: time 9e-08/0.639, allocations: 0 / 1.447 GB, free: 3.297 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0004831/0.6394, allocations: 119.8 kB / 1.447 GB, free: 3.18 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.0004111/0.6398, allocations: 227.3 kB / 1.447 GB, free: 2.945 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0003907/0.6402, allocations: 201.9 kB / 1.447 GB, free: 2.75 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.6402, allocations: 0 / 1.447 GB, free: 2.75 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001557/0.6404, allocations: 102.3 kB / 1.447 GB, free: 2.652 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006322/0.641, allocations: 96.22 kB / 1.448 GB, free: 2.559 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008935/0.6419, allocations: 472.6 kB / 1.448 GB, free: 2.07 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004205/0.6423, allocations: 0.7366 MB / 1.449 GB, free: 1.309 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0002136/0.6426, allocations: 66.17 kB / 1.449 GB, free: 1.246 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.907e-05/0.6426, allocations: 31.42 kB / 1.449 GB, free: 1.215 MB / 1.139 GB Notification: Performance of SimCode: time 2.8e-07/0.6426, allocations: 0 / 1.449 GB, free: 1.215 MB / 1.139 GB Notification: Performance of Templates: time 0.01125/0.6539, allocations: 5.742 MB / 1.454 GB, free: 11.54 MB / 1.154 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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.648088600020856]