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.001651/0.001651, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001868/0.001868, allocations: 220.7 kB / 23 MB, free: 4.914 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.48/1.48, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.828/2.828, allocations: 476 MB / 0.7707 GB, free: 4.719 MB / 0.6231 GB " [Timeout remaining time 177] 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.002098/0.002098, allocations: 65.95 kB / 1.118 GB, free: 41.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.2892, allocations: 170 MB / 1.284 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.174/0.4632, allocations: 131 MB / 1.412 GB, free: 8.355 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.005013/0.4682, allocations: 3.291 MB / 1.415 GB, free: 5.055 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001751/0.4684, allocations: 7.938 kB / 1.415 GB, free: 5.047 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0003948/0.4688, allocations: 55.67 kB / 1.415 GB, free: 4.992 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0004398/0.4692, allocations: 143.2 kB / 1.415 GB, free: 4.852 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003014/0.4722, allocations: 1.053 MB / 1.416 GB, free: 3.797 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0005935/0.4728, allocations: 315.8 kB / 1.417 GB, free: 3.488 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 8.028e-05/0.4729, allocations: 13.73 kB / 1.417 GB, free: 3.473 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005194/0.4734, allocations: 203.2 kB / 1.417 GB, free: 3.273 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002401/0.4737, allocations: 135.4 kB / 1.417 GB, free: 3.141 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 3.421e-05/0.4737, allocations: 12 kB / 1.417 GB, free: 3.129 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002335/0.476, allocations: 1.048 MB / 1.418 GB, free: 2.078 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0001386/0.4762, allocations: 75.78 kB / 1.418 GB, free: 2.004 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0001351/0.4763, allocations: 95.64 kB / 1.418 GB, free: 1.91 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001264/0.4776, allocations: 0.6192 MB / 1.419 GB, free: 1.289 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.4776, allocations: 0 / 1.419 GB, free: 1.289 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.455e-06/0.4776, allocations: 0 / 1.419 GB, free: 1.289 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.366e-05/0.4776, allocations: 3.938 kB / 1.419 GB, free: 1.285 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.001333/0.4789, allocations: 0.5243 MB / 1.419 GB, free: 0.7305 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.479, allocations: 8.031 kB / 1.419 GB, free: 0.7227 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001272/0.4802, allocations: 140.7 kB / 1.419 GB, free: 0.5859 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003075/0.4805, allocations: 166.2 kB / 1.419 GB, free: 408 kB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.52e-05/0.4806, allocations: 20.31 kB / 1.42 GB, free: 388 kB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.97e-05/0.4806, allocations: 16 kB / 1.42 GB, free: 372 kB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007844/0.4814, allocations: 0.5892 MB / 1.42 GB, free: 15.69 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.4814, allocations: 0 / 1.42 GB, free: 15.69 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.333e-05/0.4814, allocations: 15.84 kB / 1.42 GB, free: 15.68 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.262e-05/0.4815, allocations: 11.98 kB / 1.42 GB, free: 15.66 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005724/0.482, allocations: 328.1 kB / 1.42 GB, free: 15.34 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.00162/0.4837, allocations: 0.8957 MB / 1.421 GB, free: 14.4 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004842/0.4842, allocations: 178.5 kB / 1.421 GB, free: 14.22 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001479/0.4843, allocations: 76.8 kB / 1.422 GB, free: 14.14 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003597/0.4847, allocations: 83.78 kB / 1.422 GB, free: 14.06 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/0.4847, allocations: 38.5 kB / 1.422 GB, free: 14.01 MB / 1.123 GB Notification: Performance of pre-optimization done (n=21): time 1.683e-06/0.4847, allocations: 0 / 1.422 GB, free: 14.01 MB / 1.123 GB Notification: Performance of matching and sorting (n=21): time 0.0007053/0.4854, allocations: 266.2 kB / 1.422 GB, free: 13.75 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/0.4854, allocations: 51.41 kB / 1.422 GB, free: 13.69 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.4856, allocations: 162.3 kB / 1.422 GB, free: 13.52 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 4.342e-05/0.4857, allocations: 33.7 kB / 1.422 GB, free: 13.48 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.4858, allocations: 144.3 kB / 1.422 GB, free: 13.34 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 8.9e-05/0.4859, allocations: 91.3 kB / 1.422 GB, free: 13.25 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.002e-05/0.4859, allocations: 53.77 kB / 1.422 GB, free: 13.19 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.4861, allocations: 330.8 kB / 1.423 GB, free: 12.86 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.4862, allocations: 76.2 kB / 1.423 GB, free: 12.78 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001996/0.4864, allocations: 155.6 kB / 1.423 GB, free: 12.59 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003615/0.4868, allocations: 253.2 kB / 1.423 GB, free: 12.3 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.4868, allocations: 3.938 kB / 1.423 GB, free: 12.3 MB / 1.123 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000543/0.4874, allocations: 280.1 kB / 1.423 GB, free: 12.02 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.4874, allocations: 8 kB / 1.423 GB, free: 12.01 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.4874, allocations: 0 / 1.423 GB, free: 12.01 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/0.4874, allocations: 11.94 kB / 1.424 GB, free: 12 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002493/0.4877, allocations: 55.91 kB / 1.424 GB, free: 11.95 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.4877, allocations: 7.938 kB / 1.424 GB, free: 11.94 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001913/0.4879, allocations: 27.78 kB / 1.424 GB, free: 11.91 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.113e-05/0.4879, allocations: 8 kB / 1.424 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.0001444/0.488, allocations: 141.8 kB / 1.424 GB, free: 11.75 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/0.4882, allocations: 20.06 kB / 1.424 GB, free: 11.73 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005304/0.4887, allocations: 287.9 kB / 1.424 GB, free: 11.45 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.136e-06/0.4887, allocations: 4 kB / 1.424 GB, free: 11.44 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4887, allocations: 0 / 1.424 GB, free: 11.44 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.505e-06/0.4887, allocations: 3.984 kB / 1.424 GB, free: 11.44 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007725/0.4895, allocations: 0.5073 MB / 1.425 GB, free: 10.89 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.4895, allocations: 3.938 kB / 1.425 GB, free: 10.88 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/0.4896, allocations: 31.92 kB / 1.425 GB, free: 10.85 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.4896, allocations: 0 / 1.425 GB, free: 10.85 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/0.4897, allocations: 12.06 kB / 1.425 GB, free: 10.84 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.4897, allocations: 7.938 kB / 1.425 GB, free: 10.83 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.4897, allocations: 4 kB / 1.425 GB, free: 10.83 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005667/0.4902, allocations: 342.7 kB / 1.425 GB, free: 10.47 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/0.4904, allocations: 47.75 kB / 1.425 GB, free: 10.43 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.237e-05/0.4904, allocations: 4 kB / 1.425 GB, free: 10.42 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000242/0.4906, allocations: 15.98 kB / 1.425 GB, free: 10.41 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.583e-05/0.4907, allocations: 7.984 kB / 1.425 GB, free: 10.4 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.469e-05/0.4907, allocations: 19.98 kB / 1.425 GB, free: 10.38 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0001065/0.4908, allocations: 111.2 kB / 1.425 GB, free: 10.27 MB / 1.123 GB Notification: Performance of sort global known variables: time 8e-08/0.4908, allocations: 4 kB / 1.425 GB, free: 10.27 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0005252/0.4913, allocations: 131.7 kB / 1.425 GB, free: 10.14 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.0004425/0.4918, allocations: 218.8 kB / 1.425 GB, free: 9.914 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0004307/0.4922, allocations: 203.8 kB / 1.426 GB, free: 9.715 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.4922, allocations: 0 / 1.426 GB, free: 9.715 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.4924, allocations: 99.73 kB / 1.426 GB, free: 9.617 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005014/0.4929, allocations: 60.69 kB / 1.426 GB, free: 9.559 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008998/0.4938, allocations: 499.6 kB / 1.426 GB, free: 9.035 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000128/0.4939, allocations: 120.4 kB / 1.426 GB, free: 8.902 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.494, allocations: 27.42 kB / 1.426 GB, free: 8.875 MB / 1.123 GB Notification: Performance of SimCode: time 3.1e-07/0.494, allocations: 0 / 1.426 GB, free: 8.875 MB / 1.123 GB Notification: Performance of Templates: time 0.00696/0.501, allocations: 4.073 MB / 1.43 GB, free: 4.816 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/jenkins1/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: 12.005442033987492]