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.001568/0.001568, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001877/0.001877, allocations: 220.4 kB / 23.03 MB, free: 4.945 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.483/1.483, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.801/2.801, allocations: 476.8 MB / 0.7715 GB, free: 3.891 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: "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_11_Buildings_Media_Examples_AirProperties",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_11_Buildings_Media_Examples_AirProperties",fmuType="cs",version="2.0",platforms={"static"}) [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.002931/0.002931, allocations: 62.36 kB / 1.118 GB, free: 39.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3732/0.3762, allocations: 170 MB / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1877/0.5639, allocations: 131 MB / 1.412 GB, free: 7.152 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.005184/0.5691, allocations: 3.279 MB / 1.415 GB, free: 3.863 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001734/0.5693, allocations: 7.938 kB / 1.415 GB, free: 3.855 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0003773/0.5696, allocations: 59.66 kB / 1.415 GB, free: 3.797 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0005121/0.5701, allocations: 143.2 kB / 1.415 GB, free: 3.656 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002999/0.5731, allocations: 1.055 MB / 1.416 GB, free: 2.602 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0005754/0.5737, allocations: 315.7 kB / 1.417 GB, free: 2.293 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 7.033e-05/0.5738, allocations: 9.75 kB / 1.417 GB, free: 2.281 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005894/0.5744, allocations: 206.7 kB / 1.417 GB, free: 2.082 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003154/0.5747, allocations: 143.4 kB / 1.417 GB, free: 1.941 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 4.707e-05/0.5747, allocations: 12 kB / 1.417 GB, free: 1.93 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00247/0.5772, allocations: 1.06 MB / 1.418 GB, free: 0.8672 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0001359/0.5774, allocations: 79.78 kB / 1.418 GB, free: 0.7891 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0001595/0.5775, allocations: 91.64 kB / 1.418 GB, free: 0.6992 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001566/0.5791, allocations: 0.6192 MB / 1.419 GB, free: 80 kB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.5791, allocations: 3.938 kB / 1.419 GB, free: 76 kB / 1.107 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5791, allocations: 0 / 1.419 GB, free: 76 kB / 1.107 GB Notification: Performance of Transformations before backend: time 1.535e-05/0.5791, allocations: 3.984 kB / 1.419 GB, free: 72 kB / 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.001438/0.5805, allocations: 0.5204 MB / 1.419 GB, free: 15.52 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.5806, allocations: 8.031 kB / 1.419 GB, free: 15.51 MB / 1.123 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.84e-05/0.5806, allocations: 16.5 kB / 1.419 GB, free: 15.5 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.788e-05/0.5807, allocations: 62.67 kB / 1.42 GB, free: 15.43 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001285/0.582, allocations: 128.7 kB / 1.42 GB, free: 15.3 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000286/0.5822, allocations: 169.9 kB / 1.42 GB, free: 15.11 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.5823, allocations: 12.38 kB / 1.42 GB, free: 15.1 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.286e-05/0.5823, allocations: 16 kB / 1.42 GB, free: 15.08 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008174/0.5831, allocations: 0.5892 MB / 1.42 GB, free: 14.41 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.5831, allocations: 0 / 1.42 GB, free: 14.41 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.646e-05/0.5832, allocations: 8 kB / 1.42 GB, free: 14.4 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-05/0.5832, allocations: 15.98 kB / 1.42 GB, free: 14.39 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000609/0.5838, allocations: 328.1 kB / 1.421 GB, free: 14.07 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.001898/0.5857, allocations: 0.9497 MB / 1.422 GB, free: 13.06 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005156/0.5862, allocations: 182.4 kB / 1.422 GB, free: 12.87 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001582/0.5864, allocations: 83.92 kB / 1.422 GB, free: 12.79 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003887/0.5868, allocations: 75.88 kB / 1.422 GB, free: 12.71 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.618e-05/0.5868, allocations: 46.55 kB / 1.422 GB, free: 12.66 MB / 1.123 GB Notification: Performance of pre-optimization done (n=21): time 2.044e-06/0.5868, allocations: 0 / 1.422 GB, free: 12.66 MB / 1.123 GB Notification: Performance of matching and sorting (n=21): time 0.0007476/0.5876, allocations: 261.5 kB / 1.422 GB, free: 12.4 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/0.5876, allocations: 55.41 kB / 1.422 GB, free: 12.33 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000226/0.5879, allocations: 211.2 kB / 1.423 GB, free: 12.11 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001144/0.588, allocations: 25.7 kB / 1.423 GB, free: 12.08 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.5881, allocations: 152.2 kB / 1.423 GB, free: 11.93 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.5882, allocations: 75.36 kB / 1.423 GB, free: 11.86 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.5883, allocations: 49.7 kB / 1.423 GB, free: 11.8 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.5885, allocations: 326.8 kB / 1.423 GB, free: 11.47 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.5886, allocations: 80.14 kB / 1.423 GB, free: 11.39 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002816/0.5889, allocations: 160.2 kB / 1.423 GB, free: 11.2 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004938/0.5894, allocations: 252.9 kB / 1.424 GB, free: 10.91 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.5894, allocations: 4 kB / 1.424 GB, free: 10.91 MB / 1.123 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000586/0.59, allocations: 285.2 kB / 1.424 GB, free: 10.62 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.59, allocations: 8 kB / 1.424 GB, free: 10.62 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.59, allocations: 7.938 kB / 1.424 GB, free: 10.61 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/0.59, allocations: 7.938 kB / 1.424 GB, free: 10.6 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002607/0.5903, allocations: 51.92 kB / 1.424 GB, free: 10.55 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/0.5903, allocations: 7.938 kB / 1.424 GB, free: 10.54 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002151/0.5905, allocations: 32.11 kB / 1.424 GB, free: 10.51 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.002e-05/0.5905, allocations: 19.98 kB / 1.424 GB, free: 10.49 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.0001562/0.5907, allocations: 137.7 kB / 1.424 GB, free: 10.35 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001421/0.5908, allocations: 23.89 kB / 1.424 GB, free: 10.32 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005365/0.5914, allocations: 278 kB / 1.424 GB, free: 10.05 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.305e-06/0.5914, allocations: 4 kB / 1.424 GB, free: 10.04 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.5914, allocations: 0 / 1.424 GB, free: 10.04 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.5914, allocations: 0 / 1.424 GB, free: 10.04 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008748/0.5923, allocations: 0.5496 MB / 1.425 GB, free: 9.438 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.5923, allocations: 4.062 kB / 1.425 GB, free: 9.434 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001723/0.5924, allocations: 31.92 kB / 1.425 GB, free: 9.402 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.5925, allocations: 0 / 1.425 GB, free: 9.402 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/0.5925, allocations: 8 kB / 1.425 GB, free: 9.395 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.5925, allocations: 0 / 1.425 GB, free: 9.395 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.5925, allocations: 0 / 1.425 GB, free: 9.395 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007136/0.5932, allocations: 361.3 kB / 1.425 GB, free: 9.023 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.5933, allocations: 47.8 kB / 1.425 GB, free: 8.977 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.275e-05/0.5934, allocations: 4 kB / 1.425 GB, free: 8.973 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002566/0.5936, allocations: 16 kB / 1.425 GB, free: 8.957 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.764e-05/0.5936, allocations: 11.97 kB / 1.425 GB, free: 8.945 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.58e-05/0.5937, allocations: 12 kB / 1.425 GB, free: 8.934 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.000153/0.5938, allocations: 153.4 kB / 1.426 GB, free: 8.785 MB / 1.123 GB Notification: Performance of sort global known variables: time 7e-08/0.5938, allocations: 0 / 1.426 GB, free: 8.785 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0005513/0.5944, allocations: 127.8 kB / 1.426 GB, free: 8.66 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.001331/0.5957, allocations: 1.022 MB / 1.427 GB, free: 7.605 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0004395/0.5962, allocations: 195.7 kB / 1.427 GB, free: 7.414 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.5962, allocations: 0 / 1.427 GB, free: 7.414 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.5963, allocations: 95.88 kB / 1.427 GB, free: 7.32 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006606/0.597, allocations: 92.72 kB / 1.427 GB, free: 7.23 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003742/0.6007, allocations: 2.509 MB / 1.43 GB, free: 4.566 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001523/0.6009, allocations: 128.4 kB / 1.43 GB, free: 4.422 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0002631/0.6011, allocations: 62.23 kB / 1.43 GB, free: 4.359 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001378/0.6013, allocations: 55.42 kB / 1.43 GB, free: 4.305 MB / 1.123 GB Notification: Performance of SimCode: time 4.91e-07/0.6013, allocations: 0 / 1.43 GB, free: 4.305 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03766/0.6389, allocations: 8.499 MB / 1.438 GB, free: 12.08 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.25/12.89, allocations: 8.75 kB / 1.438 GB, free: 12.07 MB / 1.139 GB " [Timeout remaining time 287] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Examples.AirProperties_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Media_Examples_AirProperties.fmu > Buildings_11_Buildings.Media.Examples.AirProperties.pipe 2>&1) [Timeout 420.0] 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: 19.656438382924534]