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.001463/0.001463, allocations: 119.6 kB / 17.16 MB, free: 5.914 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.001614/0.001614, allocations: 211 kB / 20.13 MB, free: 2.969 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.428/1.428, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.887/2.887, allocations: 0.5003 GB / 0.8026 GB, free: 6.738 MB / 0.6387 GB " [Timeout remaining time 176] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_latest_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.002144/0.002144, allocations: 71.91 kB / 1.165 GB, free: 0.4922 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8515/0.8536, allocations: 178.9 MB / 1.34 GB, free: 16.29 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1837/1.037, allocations: 152.4 MB / 1.489 GB, free: 13.51 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.004465/1.042, allocations: 3.64 MB / 1.493 GB, free: 10.59 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/1.042, allocations: 1.219 kB / 1.493 GB, free: 10.59 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0003877/1.042, allocations: 70.53 kB / 1.493 GB, free: 10.53 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.000328/1.043, allocations: 132.6 kB / 1.493 GB, free: 10.43 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.00267/1.045, allocations: 1.045 MB / 1.494 GB, free: 9.66 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0004381/1.046, allocations: 318.8 kB / 1.494 GB, free: 9.496 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 5.075e-05/1.046, allocations: 7.156 kB / 1.494 GB, free: 9.488 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004844/1.046, allocations: 203.4 kB / 1.494 GB, free: 9.375 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002523/1.047, allocations: 141 kB / 1.494 GB, free: 9.293 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 3.292e-05/1.047, allocations: 11.84 kB / 1.494 GB, free: 9.293 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002517/1.049, allocations: 1.293 MB / 1.496 GB, free: 8.555 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001228/1.049, allocations: 78.69 kB / 1.496 GB, free: 8.5 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001725/1.049, allocations: 109.9 kB / 1.496 GB, free: 8.441 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001566/1.051, allocations: 0.6376 MB / 1.496 GB, free: 8.086 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/1.051, allocations: 3.984 kB / 1.496 GB, free: 8.082 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.212e-06/1.051, allocations: 0 / 1.496 GB, free: 8.082 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.07e-05/1.051, allocations: 3.938 kB / 1.496 GB, free: 8.078 MB / 1.17 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.001441/1.052, allocations: 0.6023 MB / 1.497 GB, free: 7.52 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/1.052, allocations: 12.03 kB / 1.497 GB, free: 7.508 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.765e-05/1.052, allocations: 12.5 kB / 1.497 GB, free: 7.496 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.405e-05/1.053, allocations: 54.73 kB / 1.497 GB, free: 7.434 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001238/1.054, allocations: 136.7 kB / 1.497 GB, free: 7.301 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003674/1.054, allocations: 223.7 kB / 1.497 GB, free: 7.043 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/1.054, allocations: 12.38 kB / 1.498 GB, free: 7.031 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.945e-05/1.054, allocations: 19.98 kB / 1.498 GB, free: 7.012 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006328/1.055, allocations: 338.3 kB / 1.498 GB, free: 6.66 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/1.055, allocations: 0 / 1.498 GB, free: 6.66 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.747e-05/1.055, allocations: 16 kB / 1.498 GB, free: 6.645 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.385e-05/1.055, allocations: 15.98 kB / 1.498 GB, free: 6.629 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005754/1.055, allocations: 324.1 kB / 1.498 GB, free: 6.312 MB / 1.17 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.001777/1.057, allocations: 1.11 MB / 1.499 GB, free: 5.113 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004999/1.058, allocations: 182.4 kB / 1.499 GB, free: 4.926 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/1.058, allocations: 76.75 kB / 1.5 GB, free: 4.848 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005879/1.058, allocations: 465.4 kB / 1.5 GB, free: 4.301 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/1.059, allocations: 42.56 kB / 1.5 GB, free: 4.25 MB / 1.17 GB Notification: Performance of pre-optimization done (n=21): time 3.577e-06/1.059, allocations: 3.984 kB / 1.5 GB, free: 4.246 MB / 1.17 GB Notification: Performance of matching and sorting (n=21): time 0.0007028/1.059, allocations: 257.4 kB / 1.5 GB, free: 3.988 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.998e-05/1.059, allocations: 51.41 kB / 1.5 GB, free: 3.926 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002113/1.06, allocations: 200.6 kB / 1.5 GB, free: 3.719 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.978e-05/1.06, allocations: 33.7 kB / 1.501 GB, free: 3.68 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 9.776e-05/1.06, allocations: 144.2 kB / 1.501 GB, free: 3.535 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 7.079e-05/1.06, allocations: 79.31 kB / 1.501 GB, free: 3.457 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.685e-05/1.06, allocations: 57.66 kB / 1.501 GB, free: 3.395 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001536/1.06, allocations: 330.8 kB / 1.501 GB, free: 3.062 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/1.06, allocations: 68.22 kB / 1.501 GB, free: 2.996 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001979/1.06, allocations: 167.8 kB / 1.501 GB, free: 2.793 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003947/1.061, allocations: 253.3 kB / 1.502 GB, free: 2.508 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/1.061, allocations: 0 / 1.502 GB, free: 2.508 MB / 1.17 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005452/1.061, allocations: 283.5 kB / 1.502 GB, free: 2.227 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/1.061, allocations: 8 kB / 1.502 GB, free: 2.219 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/1.061, allocations: 7.938 kB / 1.502 GB, free: 2.211 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/1.061, allocations: 4 kB / 1.502 GB, free: 2.207 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000266/1.062, allocations: 51.92 kB / 1.502 GB, free: 2.156 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.393e-05/1.062, allocations: 16.23 kB / 1.502 GB, free: 2.141 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002199/1.062, allocations: 35.84 kB / 1.502 GB, free: 2.105 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.744e-05/1.062, allocations: 19.94 kB / 1.502 GB, free: 2.086 MB / 1.17 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.000199/1.062, allocations: 133.8 kB / 1.502 GB, free: 1.945 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/1.062, allocations: 19.91 kB / 1.502 GB, free: 1.926 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005082/1.063, allocations: 281 kB / 1.502 GB, free: 1.652 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/1.063, allocations: 4 kB / 1.502 GB, free: 1.648 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/1.063, allocations: 0 / 1.502 GB, free: 1.648 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/1.063, allocations: 0 / 1.502 GB, free: 1.648 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008122/1.063, allocations: 0.5896 MB / 1.503 GB, free: 0.9961 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/1.063, allocations: 0 / 1.503 GB, free: 0.9961 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001865/1.064, allocations: 35.92 kB / 1.503 GB, free: 0.9609 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/1.064, allocations: 0 / 1.503 GB, free: 0.9609 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/1.064, allocations: 8 kB / 1.503 GB, free: 0.9531 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/1.064, allocations: 4 kB / 1.503 GB, free: 0.9492 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/1.064, allocations: 0 / 1.503 GB, free: 0.9492 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005453/1.064, allocations: 359.1 kB / 1.503 GB, free: 0.5781 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001495/1.064, allocations: 124.9 kB / 1.503 GB, free: 448 kB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.736e-05/1.064, allocations: 8 kB / 1.503 GB, free: 440 kB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002356/1.065, allocations: 4 kB / 1.504 GB, free: 436 kB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.952e-05/1.065, allocations: 19.89 kB / 1.504 GB, free: 416 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.033e-05/1.065, allocations: 15.98 kB / 1.504 GB, free: 400 kB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001402/1.065, allocations: 156 kB / 1.504 GB, free: 244 kB / 1.17 GB Notification: Performance of sort global known variables: time 6e-08/1.065, allocations: 0 / 1.504 GB, free: 244 kB / 1.17 GB Notification: Performance of remove unused functions: time 0.0005535/1.065, allocations: 123.8 kB / 1.504 GB, free: 120 kB / 1.17 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.001261/1.067, allocations: 0.9869 MB / 1.505 GB, free: 15.09 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0004042/1.067, allocations: 211.2 kB / 1.505 GB, free: 14.89 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/1.067, allocations: 0 / 1.505 GB, free: 14.89 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001525/1.067, allocations: 91.89 kB / 1.505 GB, free: 14.8 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000595/1.068, allocations: 96.16 kB / 1.505 GB, free: 14.71 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003324/1.071, allocations: 2.509 MB / 1.508 GB, free: 12.04 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004116/1.072, allocations: 0.7367 MB / 1.508 GB, free: 11.27 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0002337/1.072, allocations: 54.25 kB / 1.508 GB, free: 11.22 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/1.072, allocations: 67.39 kB / 1.508 GB, free: 11.16 MB / 1.186 GB Notification: Performance of SimCode: time 4.81e-07/1.072, allocations: 4 kB / 1.508 GB, free: 11.15 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08642/1.158, allocations: 7.872 MB / 1.516 GB, free: 3.426 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.668/9.826, allocations: 11.16 kB / 1.516 GB, free: 3.418 MB / 1.186 GB " [Timeout remaining time 290] (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.105439227016177]