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.001279/0.001279, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001497/0.001497, allocations: 218.9 kB / 22.25 MB, free: 5.125 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.451/1.451, allocations: 230.6 MB / 256 MB, free: 7.961 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 3.293/3.293, allocations: 0.505 GB / 0.8101 GB, free: 22.16 MB / 0.6231 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="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.002704/0.002704, allocations: 63.12 kB / 1.177 GB, free: 17.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4132/0.4159, allocations: 180.2 MB / 1.353 GB, free: 8.422 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1804/0.5963, allocations: 152.4 MB / 1.502 GB, free: 15.39 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.004871/0.6012, allocations: 3.662 MB / 1.505 GB, free: 11.72 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001823/0.6014, allocations: 0 / 1.505 GB, free: 11.72 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0003747/0.6017, allocations: 67.58 kB / 1.505 GB, free: 11.65 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.0003994/0.6021, allocations: 135.2 kB / 1.506 GB, free: 11.52 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002977/0.6051, allocations: 1.064 MB / 1.507 GB, free: 10.45 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0004762/0.6056, allocations: 311.8 kB / 1.507 GB, free: 10.15 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 5.639e-05/0.6057, allocations: 13.73 kB / 1.507 GB, free: 10.13 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004483/0.6061, allocations: 207.4 kB / 1.507 GB, free: 9.93 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002387/0.6063, allocations: 139.5 kB / 1.507 GB, free: 9.793 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 3.197e-05/0.6064, allocations: 8 kB / 1.507 GB, free: 9.785 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002453/0.6088, allocations: 1.333 MB / 1.509 GB, free: 8.449 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.6089, allocations: 75.78 kB / 1.509 GB, free: 8.375 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0001396/0.6091, allocations: 103.5 kB / 1.509 GB, free: 8.273 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001403/0.6105, allocations: 0.6465 MB / 1.509 GB, free: 7.625 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.6105, allocations: 0 / 1.509 GB, free: 7.625 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.253e-06/0.6105, allocations: 0 / 1.509 GB, free: 7.625 MB / 1.201 GB Notification: Performance of Transformations before backend: time 8.696e-06/0.6105, allocations: 0 / 1.509 GB, free: 7.625 MB / 1.201 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.001224/0.6117, allocations: 0.5243 MB / 1.51 GB, free: 7.07 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.6118, allocations: 12.03 kB / 1.51 GB, free: 7.059 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.632e-05/0.6118, allocations: 58.73 kB / 1.51 GB, free: 6.992 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001264/0.6131, allocations: 132.6 kB / 1.51 GB, free: 6.863 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003028/0.6134, allocations: 174 kB / 1.51 GB, free: 6.668 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.6134, allocations: 12.38 kB / 1.51 GB, free: 6.656 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.521e-05/0.6135, allocations: 16 kB / 1.51 GB, free: 6.641 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000598/0.6141, allocations: 353.9 kB / 1.511 GB, free: 6.277 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.6141, allocations: 7.922 kB / 1.511 GB, free: 6.27 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.909e-05/0.6141, allocations: 7.984 kB / 1.511 GB, free: 6.262 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.478e-05/0.6141, allocations: 20 kB / 1.511 GB, free: 6.242 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005666/0.6147, allocations: 328.1 kB / 1.511 GB, free: 5.922 MB / 1.201 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.001843/0.6165, allocations: 1.073 MB / 1.512 GB, free: 4.766 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005162/0.6171, allocations: 188.8 kB / 1.512 GB, free: 4.574 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001452/0.6172, allocations: 76.75 kB / 1.512 GB, free: 4.496 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003835/0.6176, allocations: 79.92 kB / 1.512 GB, free: 4.418 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.6176, allocations: 42.5 kB / 1.512 GB, free: 4.367 MB / 1.201 GB Notification: Performance of pre-optimization done (n=21): time 1.563e-06/0.6176, allocations: 0 / 1.512 GB, free: 4.367 MB / 1.201 GB Notification: Performance of matching and sorting (n=21): time 0.0006873/0.6183, allocations: 263 kB / 1.513 GB, free: 4.105 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.608e-05/0.6184, allocations: 55.41 kB / 1.513 GB, free: 4.039 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002318/0.6186, allocations: 207.2 kB / 1.513 GB, free: 3.824 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 4.261e-05/0.6186, allocations: 37.69 kB / 1.513 GB, free: 3.781 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.6187, allocations: 144.2 kB / 1.513 GB, free: 3.633 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 8.883e-05/0.6188, allocations: 75.38 kB / 1.513 GB, free: 3.559 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.6189, allocations: 53.66 kB / 1.513 GB, free: 3.5 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.6191, allocations: 330.8 kB / 1.513 GB, free: 3.168 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.6192, allocations: 72.22 kB / 1.513 GB, free: 3.098 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002018/0.6194, allocations: 159.6 kB / 1.514 GB, free: 2.902 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003487/0.6198, allocations: 246.2 kB / 1.514 GB, free: 2.625 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.6198, allocations: 3.938 kB / 1.514 GB, free: 2.621 MB / 1.201 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.00054/0.6203, allocations: 289.2 kB / 1.514 GB, free: 2.332 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.6203, allocations: 8 kB / 1.514 GB, free: 2.324 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.6203, allocations: 3.984 kB / 1.514 GB, free: 2.32 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.6204, allocations: 11.94 kB / 1.514 GB, free: 2.309 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000272/0.6206, allocations: 55.91 kB / 1.514 GB, free: 2.254 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.6206, allocations: 4 kB / 1.514 GB, free: 2.25 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002084/0.6209, allocations: 36.11 kB / 1.514 GB, free: 2.215 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.682e-05/0.6209, allocations: 20.11 kB / 1.514 GB, free: 2.195 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.0001435/0.621, allocations: 149.5 kB / 1.514 GB, free: 2.039 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/0.6212, allocations: 23.91 kB / 1.514 GB, free: 2.016 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004997/0.6217, allocations: 279.3 kB / 1.515 GB, free: 1.734 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.056e-06/0.6217, allocations: 4 kB / 1.515 GB, free: 1.73 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.6217, allocations: 0 / 1.515 GB, free: 1.73 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.6217, allocations: 3.984 kB / 1.515 GB, free: 1.727 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007803/0.6225, allocations: 0.5614 MB / 1.515 GB, free: 1.109 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.6225, allocations: 0 / 1.515 GB, free: 1.109 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002029/0.6227, allocations: 31.92 kB / 1.515 GB, free: 1.078 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.6227, allocations: 4 kB / 1.515 GB, free: 1.074 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.6227, allocations: 4 kB / 1.515 GB, free: 1.07 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/0.6227, allocations: 4 kB / 1.515 GB, free: 1.066 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.6227, allocations: 0 / 1.515 GB, free: 1.066 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005385/0.6232, allocations: 354 kB / 1.516 GB, free: 0.6992 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.6234, allocations: 47.75 kB / 1.516 GB, free: 0.6523 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.64e-05/0.6234, allocations: 7.938 kB / 1.516 GB, free: 0.6445 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002395/0.6236, allocations: 14.06 kB / 1.516 GB, free: 0.6328 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.897e-05/0.6237, allocations: 23.8 kB / 1.516 GB, free: 0.6094 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.067e-05/0.6237, allocations: 16 kB / 1.516 GB, free: 0.5938 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0001343/0.6238, allocations: 149.5 kB / 1.516 GB, free: 460 kB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.6238, allocations: 3.938 kB / 1.516 GB, free: 456 kB / 1.201 GB Notification: Performance of remove unused functions: time 0.0005112/0.6243, allocations: 123.8 kB / 1.516 GB, free: 332 kB / 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.001181/0.6255, allocations: 0.9908 MB / 1.517 GB, free: 15.3 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0003837/0.6259, allocations: 196.2 kB / 1.517 GB, free: 15.11 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.6259, allocations: 8.25 kB / 1.517 GB, free: 15.1 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.6261, allocations: 97.75 kB / 1.517 GB, free: 15 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006217/0.6267, allocations: 91.97 kB / 1.517 GB, free: 14.91 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003142/0.6298, allocations: 2.507 MB / 1.52 GB, free: 12.24 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003513/0.6302, allocations: 0.7367 MB / 1.521 GB, free: 11.48 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0002322/0.6304, allocations: 58.25 kB / 1.521 GB, free: 11.43 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/0.6306, allocations: 55.42 kB / 1.521 GB, free: 11.37 MB / 1.217 GB Notification: Performance of SimCode: time 6.61e-07/0.6306, allocations: 0 / 1.521 GB, free: 11.37 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03958/0.6701, allocations: 8.13 MB / 1.529 GB, free: 3.422 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/12.23, allocations: 3.438 kB / 1.529 GB, free: 3.422 MB / 1.217 GB " [Timeout remaining time 288] (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: 19.08023829990998]