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.001568/0.001568, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001453/0.001453, allocations: 215.7 kB / 23.03 MB, free: 4.918 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.408/1.408, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.051/3.051, allocations: 0.5003 GB / 0.8062 GB, free: 28.29 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="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.001886/0.001886, allocations: 70.55 kB / 1.171 GB, free: 19.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.3365, allocations: 179 MB / 1.345 GB, free: 15.92 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.168/0.5045, allocations: 131 MB / 1.473 GB, free: 12.44 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.004362/0.5088, allocations: 3.287 MB / 1.476 GB, free: 9.141 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001477/0.509, allocations: 0 / 1.476 GB, free: 9.141 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0003663/0.5093, allocations: 55.66 kB / 1.476 GB, free: 9.086 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0003839/0.5097, allocations: 139.2 kB / 1.477 GB, free: 8.949 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002736/0.5125, allocations: 1.068 MB / 1.478 GB, free: 7.879 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0004323/0.5129, allocations: 315.7 kB / 1.478 GB, free: 7.566 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 6.057e-05/0.5129, allocations: 9.75 kB / 1.478 GB, free: 7.551 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004278/0.5134, allocations: 203.4 kB / 1.478 GB, free: 7.352 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002261/0.5136, allocations: 143.5 kB / 1.478 GB, free: 7.211 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 3.181e-05/0.5136, allocations: 12 kB / 1.478 GB, free: 7.199 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001917/0.5155, allocations: 1.056 MB / 1.479 GB, free: 6.141 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001165/0.5157, allocations: 71.78 kB / 1.479 GB, free: 6.07 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001369/0.5158, allocations: 95.64 kB / 1.48 GB, free: 5.977 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001225/0.517, allocations: 0.6192 MB / 1.48 GB, free: 5.355 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.517, allocations: 3.938 kB / 1.48 GB, free: 5.352 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.052e-06/0.517, allocations: 0 / 1.48 GB, free: 5.352 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.517, allocations: 0 / 1.48 GB, free: 5.352 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.001197/0.5182, allocations: 0.5204 MB / 1.481 GB, free: 4.801 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.5183, allocations: 8.031 kB / 1.481 GB, free: 4.793 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.116e-05/0.5183, allocations: 4.562 kB / 1.481 GB, free: 4.789 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.421e-05/0.5184, allocations: 62.7 kB / 1.481 GB, free: 4.719 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001211/0.5196, allocations: 136.7 kB / 1.481 GB, free: 4.586 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002844/0.5199, allocations: 177.8 kB / 1.481 GB, free: 4.387 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.695e-05/0.5199, allocations: 12.38 kB / 1.481 GB, free: 4.375 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.948e-05/0.5199, allocations: 20 kB / 1.481 GB, free: 4.355 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007421/0.5207, allocations: 0.5889 MB / 1.482 GB, free: 3.684 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.5207, allocations: 0 / 1.482 GB, free: 3.684 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.725e-05/0.5207, allocations: 12 kB / 1.482 GB, free: 3.672 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.586e-05/0.5208, allocations: 19.98 kB / 1.482 GB, free: 3.652 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005534/0.5213, allocations: 320.1 kB / 1.482 GB, free: 3.34 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.001645/0.523, allocations: 0.9574 MB / 1.483 GB, free: 2.324 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004852/0.5234, allocations: 174.5 kB / 1.483 GB, free: 2.145 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/0.5236, allocations: 84.73 kB / 1.483 GB, free: 2.059 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003631/0.524, allocations: 71.94 kB / 1.483 GB, free: 1.988 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/0.524, allocations: 46.56 kB / 1.483 GB, free: 1.934 MB / 1.17 GB Notification: Performance of pre-optimization done (n=21): time 1.803e-06/0.524, allocations: 0 / 1.483 GB, free: 1.934 MB / 1.17 GB Notification: Performance of matching and sorting (n=21): time 0.0006785/0.5247, allocations: 263 kB / 1.483 GB, free: 1.672 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.5247, allocations: 51.52 kB / 1.484 GB, free: 1.609 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002116/0.5249, allocations: 219 kB / 1.484 GB, free: 1.383 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.256e-05/0.525, allocations: 33.64 kB / 1.484 GB, free: 1.344 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 9.859e-05/0.5251, allocations: 144.2 kB / 1.484 GB, free: 1.195 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.5252, allocations: 75.39 kB / 1.484 GB, free: 1.121 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.734e-05/0.5253, allocations: 57.64 kB / 1.484 GB, free: 1.059 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.5254, allocations: 326.8 kB / 1.484 GB, free: 0.7305 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.5255, allocations: 76.22 kB / 1.484 GB, free: 0.6562 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001895/0.5257, allocations: 155.7 kB / 1.485 GB, free: 476 kB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003467/0.5261, allocations: 253.5 kB / 1.485 GB, free: 184 kB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.5261, allocations: 0 / 1.485 GB, free: 184 kB / 1.17 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005629/0.5266, allocations: 281.2 kB / 1.485 GB, free: 15.9 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.5266, allocations: 8 kB / 1.485 GB, free: 15.89 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.5267, allocations: 4.312 kB / 1.485 GB, free: 15.89 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.5267, allocations: 8 kB / 1.485 GB, free: 15.88 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002509/0.5269, allocations: 55.91 kB / 1.485 GB, free: 15.82 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.5269, allocations: 7.938 kB / 1.485 GB, free: 15.82 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002085/0.5271, allocations: 27.78 kB / 1.485 GB, free: 15.79 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.583e-05/0.5272, allocations: 16 kB / 1.485 GB, free: 15.77 MB / 1.186 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.0001465/0.5273, allocations: 145.6 kB / 1.485 GB, free: 15.62 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.5275, allocations: 19.91 kB / 1.485 GB, free: 15.6 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005096/0.528, allocations: 276.7 kB / 1.486 GB, free: 15.33 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.138e-06/0.528, allocations: 4 kB / 1.486 GB, free: 15.33 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.707e-06/0.528, allocations: 7.984 kB / 1.486 GB, free: 15.32 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.528, allocations: 0 / 1.486 GB, free: 15.32 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008065/0.5288, allocations: 0.5626 MB / 1.486 GB, free: 14.7 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.5288, allocations: 0 / 1.486 GB, free: 14.7 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001653/0.529, allocations: 27.97 kB / 1.486 GB, free: 14.68 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.529, allocations: 4 kB / 1.486 GB, free: 14.67 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.529, allocations: 0 / 1.486 GB, free: 14.67 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.658e-06/0.529, allocations: 4 kB / 1.486 GB, free: 14.67 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.529, allocations: 0 / 1.486 GB, free: 14.67 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005519/0.5295, allocations: 356.9 kB / 1.487 GB, free: 14.3 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.5297, allocations: 43.77 kB / 1.487 GB, free: 14.25 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.3e-05/0.5297, allocations: 8 kB / 1.487 GB, free: 14.25 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002617/0.53, allocations: 7.984 kB / 1.487 GB, free: 14.24 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.043e-05/0.53, allocations: 23.88 kB / 1.487 GB, free: 14.21 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-05/0.53, allocations: 12 kB / 1.487 GB, free: 14.2 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0001404/0.5302, allocations: 157.4 kB / 1.487 GB, free: 14.05 MB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/0.5302, allocations: 0 / 1.487 GB, free: 14.05 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0005337/0.5307, allocations: 119.8 kB / 1.487 GB, free: 13.93 MB / 1.186 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.001246/0.532, allocations: 0.9986 MB / 1.488 GB, free: 12.9 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0003867/0.5323, allocations: 199.6 kB / 1.488 GB, free: 12.71 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.5323, allocations: 4.25 kB / 1.488 GB, free: 12.7 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.5325, allocations: 99.88 kB / 1.488 GB, free: 12.61 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005832/0.5331, allocations: 87.97 kB / 1.488 GB, free: 12.52 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003329/0.5364, allocations: 2.514 MB / 1.491 GB, free: 9.848 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001426/0.5365, allocations: 124.4 kB / 1.491 GB, free: 9.703 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0002543/0.5368, allocations: 58.23 kB / 1.491 GB, free: 9.648 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/0.5369, allocations: 63.41 kB / 1.491 GB, free: 9.59 MB / 1.186 GB Notification: Performance of SimCode: time 6.21e-07/0.5369, allocations: 0 / 1.491 GB, free: 9.59 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03158/0.5685, allocations: 8.496 MB / 1.499 GB, free: 1.344 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.93, allocations: 1.172 kB / 1.499 GB, free: 1.344 MB / 1.186 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: 18.42461477802135]