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.001991/0.001991, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002447/0.002447, allocations: 212.4 kB / 22.24 MB, free: 5.262 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.561/1.561, allocations: 230.6 MB / 256 MB, free: 7.746 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 3.153/3.153, allocations: 476 MB / 0.7699 GB, free: 4.727 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.002125/0.002125, allocations: 68.19 kB / 1.117 GB, free: 40.97 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4142/0.4163, allocations: 170 MB / 1.283 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.2046/0.6209, allocations: 131 MB / 1.411 GB, free: 8.359 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.005366/0.6262, allocations: 3.287 MB / 1.414 GB, free: 5.062 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001986/0.6264, allocations: 4 kB / 1.414 GB, free: 5.059 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.000437/0.6269, allocations: 59.66 kB / 1.414 GB, free: 5 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0005043/0.6274, allocations: 143.2 kB / 1.414 GB, free: 4.859 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003464/0.6308, allocations: 1.054 MB / 1.415 GB, free: 3.805 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0005701/0.6314, allocations: 315.7 kB / 1.416 GB, free: 3.496 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 6.987e-05/0.6315, allocations: 5.75 kB / 1.416 GB, free: 3.488 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000557/0.632, allocations: 219.1 kB / 1.416 GB, free: 3.273 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003032/0.6323, allocations: 127.5 kB / 1.416 GB, free: 3.148 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 3.632e-05/0.6324, allocations: 12 kB / 1.416 GB, free: 3.137 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002544/0.6349, allocations: 1.052 MB / 1.417 GB, free: 2.082 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0001383/0.6351, allocations: 75.78 kB / 1.417 GB, free: 2.008 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0001564/0.6352, allocations: 99.59 kB / 1.417 GB, free: 1.91 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001636/0.6369, allocations: 0.6192 MB / 1.418 GB, free: 1.289 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.6369, allocations: 4 kB / 1.418 GB, free: 1.285 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.365e-06/0.6369, allocations: 4 kB / 1.418 GB, free: 1.281 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.126e-05/0.6369, allocations: 0 / 1.418 GB, free: 1.281 MB / 1.107 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.001421/0.6383, allocations: 0.5204 MB / 1.418 GB, free: 0.7305 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.6383, allocations: 12.03 kB / 1.418 GB, free: 0.7188 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00128/0.6396, allocations: 132.7 kB / 1.419 GB, free: 0.5898 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003889/0.64, allocations: 154.3 kB / 1.419 GB, free: 424 kB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.152e-05/0.64, allocations: 24.3 kB / 1.419 GB, free: 400 kB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.212e-05/0.6401, allocations: 16 kB / 1.419 GB, free: 384 kB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008982/0.641, allocations: 0.5892 MB / 1.419 GB, free: 15.7 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.641, allocations: 0 / 1.419 GB, free: 15.7 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.976e-05/0.641, allocations: 8 kB / 1.419 GB, free: 15.7 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.852e-05/0.6411, allocations: 19.98 kB / 1.419 GB, free: 15.68 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007116/0.6418, allocations: 328 kB / 1.42 GB, free: 15.36 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.002041/0.6438, allocations: 0.8996 MB / 1.421 GB, free: 14.41 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005503/0.6444, allocations: 178.4 kB / 1.421 GB, free: 14.23 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001669/0.6445, allocations: 80.8 kB / 1.421 GB, free: 14.14 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003999/0.6449, allocations: 79.83 kB / 1.421 GB, free: 14.07 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/0.645, allocations: 42.5 kB / 1.421 GB, free: 14.02 MB / 1.123 GB Notification: Performance of pre-optimization done (n=21): time 2.134e-06/0.645, allocations: 0 / 1.421 GB, free: 14.02 MB / 1.123 GB Notification: Performance of matching and sorting (n=21): time 0.0007755/0.6458, allocations: 256.6 kB / 1.421 GB, free: 13.76 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.854e-05/0.6458, allocations: 55.41 kB / 1.421 GB, free: 13.7 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001992/0.646, allocations: 166.3 kB / 1.421 GB, free: 13.52 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 4.317e-05/0.6461, allocations: 29.7 kB / 1.421 GB, free: 13.49 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001381/0.6462, allocations: 148.3 kB / 1.422 GB, free: 13.34 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 8.298e-05/0.6463, allocations: 79.27 kB / 1.422 GB, free: 13.26 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.962e-05/0.6464, allocations: 53.66 kB / 1.422 GB, free: 13.2 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001766/0.6466, allocations: 330.8 kB / 1.422 GB, free: 12.87 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.6467, allocations: 80.33 kB / 1.422 GB, free: 12.79 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002193/0.6469, allocations: 163.6 kB / 1.422 GB, free: 12.59 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004402/0.6474, allocations: 245.2 kB / 1.422 GB, free: 12.31 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.6474, allocations: 3.938 kB / 1.422 GB, free: 12.31 MB / 1.123 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005949/0.648, allocations: 273.2 kB / 1.423 GB, free: 12.04 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.63e-05/0.648, allocations: 10.5 kB / 1.423 GB, free: 12.03 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.648, allocations: 4.375 kB / 1.423 GB, free: 12.02 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.997e-05/0.648, allocations: 19.88 kB / 1.423 GB, free: 12 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002625/0.6483, allocations: 51.92 kB / 1.423 GB, free: 11.95 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.514e-05/0.6483, allocations: 11.92 kB / 1.423 GB, free: 11.94 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002118/0.6485, allocations: 27.78 kB / 1.423 GB, free: 11.91 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.207e-05/0.6486, allocations: 12 kB / 1.423 GB, free: 11.9 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.0001655/0.6487, allocations: 137.8 kB / 1.423 GB, free: 11.76 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/0.6489, allocations: 19.91 kB / 1.423 GB, free: 11.74 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005521/0.6494, allocations: 275.9 kB / 1.423 GB, free: 11.46 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.769e-06/0.6494, allocations: 4 kB / 1.423 GB, free: 11.46 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.6494, allocations: 4 kB / 1.423 GB, free: 11.45 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.6495, allocations: 0 / 1.423 GB, free: 11.45 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009423/0.6504, allocations: 0.5151 MB / 1.424 GB, free: 10.89 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.204e-06/0.6504, allocations: 7.938 kB / 1.424 GB, free: 10.89 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000163/0.6506, allocations: 20 kB / 1.424 GB, free: 10.87 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.882e-06/0.6506, allocations: 4 kB / 1.424 GB, free: 10.86 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.168e-05/0.6506, allocations: 7.984 kB / 1.424 GB, free: 10.86 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.6506, allocations: 4 kB / 1.424 GB, free: 10.85 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.6506, allocations: 0 / 1.424 GB, free: 10.85 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006108/0.6512, allocations: 349.8 kB / 1.424 GB, free: 10.49 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001403/0.6513, allocations: 47.73 kB / 1.424 GB, free: 10.45 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.771e-05/0.6514, allocations: 8 kB / 1.424 GB, free: 10.44 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000245/0.6516, allocations: 11.98 kB / 1.424 GB, free: 10.43 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.556e-05/0.6517, allocations: 11.98 kB / 1.424 GB, free: 10.41 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.399e-05/0.6517, allocations: 15.98 kB / 1.424 GB, free: 10.4 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0001221/0.6518, allocations: 117.1 kB / 1.424 GB, free: 10.29 MB / 1.123 GB Notification: Performance of sort global known variables: time 8e-08/0.6518, allocations: 0 / 1.424 GB, free: 10.29 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0005901/0.6524, allocations: 123.7 kB / 1.424 GB, free: 10.16 MB / 1.123 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.0005547/0.653, allocations: 230.7 kB / 1.425 GB, free: 9.93 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0004487/0.6534, allocations: 206.1 kB / 1.425 GB, free: 9.73 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.6534, allocations: 7.938 kB / 1.425 GB, free: 9.723 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0001556/0.6536, allocations: 103.8 kB / 1.425 GB, free: 9.621 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005206/0.6541, allocations: 51.95 kB / 1.425 GB, free: 9.57 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.6552, allocations: 462.8 kB / 1.425 GB, free: 9.086 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001556/0.6553, allocations: 132.4 kB / 1.426 GB, free: 8.941 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0002522/0.6556, allocations: 41.61 kB / 1.426 GB, free: 8.898 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.348e-05/0.6557, allocations: 31.42 kB / 1.426 GB, free: 8.867 MB / 1.123 GB Notification: Performance of SimCode: time 8.32e-07/0.6557, allocations: 3.938 kB / 1.426 GB, free: 8.863 MB / 1.123 GB Notification: Performance of Templates: time 0.01159/0.6673, allocations: 4.886 MB / 1.43 GB, free: 4.078 MB / 1.123 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: 10.114203184843063]