Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001467/0.001467, 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.001689/0.001689, allocations: 211.6 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.354/1.354, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.974/2.974, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_AirProperties",fmuType="me",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.001912/0.001912, allocations: 67.34 kB / 1.186 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.3006, allocations: 181.9 MB / 1.363 GB, free: 14.02 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1484/0.449, allocations: 131 MB / 1.491 GB, free: 10.46 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.004012/0.453, allocations: 3.295 MB / 1.495 GB, free: 7.152 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.4531, allocations: 4 kB / 1.495 GB, free: 7.148 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0003414/0.4535, allocations: 51.67 kB / 1.495 GB, free: 7.098 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0003228/0.4538, allocations: 139.2 kB / 1.495 GB, free: 6.961 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.00243/0.4562, allocations: 1.057 MB / 1.496 GB, free: 5.902 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0003772/0.4566, allocations: 319.6 kB / 1.496 GB, free: 5.586 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 4.453e-05/0.4567, allocations: 5.75 kB / 1.496 GB, free: 5.578 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003784/0.457, allocations: 215.4 kB / 1.496 GB, free: 5.367 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001785/0.4572, allocations: 119.5 kB / 1.496 GB, free: 5.25 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 2.906e-05/0.4572, allocations: 12 kB / 1.496 GB, free: 5.238 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001645/0.4589, allocations: 1.056 MB / 1.498 GB, free: 4.18 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 9.121e-05/0.459, allocations: 75.78 kB / 1.498 GB, free: 4.105 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.4591, allocations: 95.64 kB / 1.498 GB, free: 4.012 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0008875/0.46, allocations: 0.6153 MB / 1.498 GB, free: 3.395 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.46, allocations: 0 / 1.498 GB, free: 3.395 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.273e-06/0.46, allocations: 4 kB / 1.498 GB, free: 3.391 MB / 1.186 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.46, allocations: 0 / 1.498 GB, free: 3.391 MB / 1.186 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.0009966/0.461, allocations: 0.5282 MB / 1.499 GB, free: 2.832 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.461, allocations: 8.031 kB / 1.499 GB, free: 2.824 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.947e-05/0.4611, allocations: 54.73 kB / 1.499 GB, free: 2.762 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001081/0.4622, allocations: 132.7 kB / 1.499 GB, free: 2.633 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002658/0.4624, allocations: 177.9 kB / 1.499 GB, free: 2.434 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.4624, allocations: 20.36 kB / 1.499 GB, free: 2.414 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.74e-05/0.4625, allocations: 16 kB / 1.499 GB, free: 2.398 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000653/0.4631, allocations: 0.5851 MB / 1.5 GB, free: 1.734 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.4631, allocations: 3.938 kB / 1.5 GB, free: 1.73 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.084e-05/0.4632, allocations: 15.98 kB / 1.5 GB, free: 1.715 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.233e-05/0.4632, allocations: 12 kB / 1.5 GB, free: 1.703 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005249/0.4637, allocations: 328.1 kB / 1.5 GB, free: 1.383 MB / 1.186 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.001519/0.4652, allocations: 0.9535 MB / 1.501 GB, free: 380 kB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004417/0.4657, allocations: 181.5 kB / 1.501 GB, free: 192 kB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001323/0.4658, allocations: 80.73 kB / 1.501 GB, free: 108 kB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003263/0.4661, allocations: 79.92 kB / 1.501 GB, free: 28 kB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/0.4662, allocations: 34.56 kB / 1.501 GB, free: 15.98 MB / 1.201 GB Notification: Performance of pre-optimization done (n=21): time 1.373e-06/0.4662, allocations: 0 / 1.501 GB, free: 15.98 MB / 1.201 GB Notification: Performance of matching and sorting (n=21): time 0.0006247/0.4668, allocations: 265.9 kB / 1.502 GB, free: 15.72 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/0.4668, allocations: 55.41 kB / 1.502 GB, free: 15.65 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002008/0.467, allocations: 215.1 kB / 1.502 GB, free: 15.43 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.386e-05/0.4671, allocations: 33.7 kB / 1.502 GB, free: 15.39 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 8.877e-05/0.4672, allocations: 140.2 kB / 1.502 GB, free: 15.25 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 5.868e-05/0.4672, allocations: 79.31 kB / 1.502 GB, free: 15.17 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.471e-05/0.4673, allocations: 53.66 kB / 1.502 GB, free: 15.11 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.4674, allocations: 338.8 kB / 1.503 GB, free: 14.77 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.4676, allocations: 64.23 kB / 1.503 GB, free: 14.71 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001952/0.4678, allocations: 159.7 kB / 1.503 GB, free: 14.52 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003171/0.4681, allocations: 244.4 kB / 1.503 GB, free: 14.24 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.178e-05/0.4681, allocations: 11.94 kB / 1.503 GB, free: 14.23 MB / 1.201 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004937/0.4686, allocations: 283.8 kB / 1.503 GB, free: 13.95 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.4686, allocations: 8 kB / 1.503 GB, free: 13.94 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.4686, allocations: 4 kB / 1.503 GB, free: 13.93 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.4686, allocations: 7.938 kB / 1.503 GB, free: 13.93 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002276/0.4688, allocations: 51.92 kB / 1.503 GB, free: 13.88 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.4689, allocations: 7.984 kB / 1.503 GB, free: 13.87 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001858/0.469, allocations: 31.73 kB / 1.503 GB, free: 13.84 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.821e-05/0.4691, allocations: 12 kB / 1.503 GB, free: 13.82 MB / 1.201 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.0001231/0.4692, allocations: 137.8 kB / 1.504 GB, free: 13.68 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.4693, allocations: 20.02 kB / 1.504 GB, free: 13.66 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004625/0.4698, allocations: 299.1 kB / 1.504 GB, free: 13.36 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.4698, allocations: 4 kB / 1.504 GB, free: 13.36 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.4698, allocations: 0 / 1.504 GB, free: 13.36 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.4698, allocations: 0 / 1.504 GB, free: 13.36 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000755/0.4705, allocations: 0.5458 MB / 1.504 GB, free: 12.76 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.4705, allocations: 0 / 1.504 GB, free: 12.76 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001532/0.4707, allocations: 24 kB / 1.504 GB, free: 12.73 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.4707, allocations: 3.938 kB / 1.504 GB, free: 12.73 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/0.4707, allocations: 11.98 kB / 1.504 GB, free: 12.72 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4707, allocations: 0 / 1.504 GB, free: 12.72 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.4707, allocations: 4 kB / 1.504 GB, free: 12.71 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005153/0.4712, allocations: 359.6 kB / 1.505 GB, free: 12.34 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.4713, allocations: 43.77 kB / 1.505 GB, free: 12.3 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.25e-05/0.4714, allocations: 0 / 1.505 GB, free: 12.3 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002409/0.4716, allocations: 15.98 kB / 1.505 GB, free: 12.29 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.579e-05/0.4717, allocations: 15.83 kB / 1.505 GB, free: 12.27 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.183e-05/0.4717, allocations: 19.98 kB / 1.505 GB, free: 12.25 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0001303/0.4718, allocations: 145.5 kB / 1.505 GB, free: 12.11 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/0.4718, allocations: 4 kB / 1.505 GB, free: 12.11 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0004271/0.4722, allocations: 119.7 kB / 1.505 GB, free: 11.99 MB / 1.201 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.001047/0.4733, allocations: 1.006 MB / 1.506 GB, free: 10.95 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.000347/0.4736, allocations: 201.9 kB / 1.506 GB, free: 10.75 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.4736, allocations: 3.938 kB / 1.506 GB, free: 10.75 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.4738, allocations: 94.23 kB / 1.506 GB, free: 10.66 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005658/0.4743, allocations: 96.16 kB / 1.506 GB, free: 10.57 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002797/0.4771, allocations: 2.497 MB / 1.509 GB, free: 7.906 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000118/0.4773, allocations: 128.4 kB / 1.509 GB, free: 7.758 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0002135/0.4775, allocations: 62.17 kB / 1.509 GB, free: 7.699 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.4776, allocations: 55.42 kB / 1.509 GB, free: 7.648 MB / 1.201 GB Notification: Performance of SimCode: time 4.01e-07/0.4776, allocations: 0 / 1.509 GB, free: 7.648 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0355/0.5131, allocations: 8.816 MB / 1.518 GB, free: 15.07 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.23/10.75, allocations: 5.812 kB / 1.518 GB, free: 15.06 MB / 1.217 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.AirProperties_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_AirProperties.fmu > Buildings_latest_Buildings.Media.Examples.AirProperties.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.AirProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_AirProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 16.80329275690019]