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.001916/0.001916, allocations: 116.8 kB / 17.16 MB, free: 5.895 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.002215/0.002215, allocations: 212 kB / 20.13 MB, free: 2.949 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.649/1.649, allocations: 230.6 MB / 253.5 MB, free: 15.13 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.978/2.978, allocations: 476.7 MB / 0.7678 GB, free: 9.383 MB / 0.6075 GB " [Timeout remaining time 176] 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.002055/0.002055, allocations: 59.91 kB / 1.113 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.183/1.185, allocations: 169.9 MB / 1.279 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.2317/1.417, allocations: 152.4 MB / 1.428 GB, free: 3.598 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.004802/1.421, allocations: 3.643 MB / 1.431 GB, free: 15.94 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001413/1.421, allocations: 4 kB / 1.431 GB, free: 15.94 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0003832/1.422, allocations: 59.64 kB / 1.431 GB, free: 15.88 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.000368/1.422, allocations: 151.2 kB / 1.432 GB, free: 15.73 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.003097/1.425, allocations: 1.035 MB / 1.433 GB, free: 14.69 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0005351/1.426, allocations: 323.5 kB / 1.433 GB, free: 14.38 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 7.069e-05/1.426, allocations: 9.562 kB / 1.433 GB, free: 14.37 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004708/1.426, allocations: 201 kB / 1.433 GB, free: 14.17 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002251/1.427, allocations: 139.5 kB / 1.433 GB, free: 14.04 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 2.91e-05/1.427, allocations: 12 kB / 1.433 GB, free: 14.02 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002606/1.429, allocations: 1.297 MB / 1.434 GB, free: 12.72 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.000118/1.429, allocations: 75.78 kB / 1.435 GB, free: 12.65 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001419/1.43, allocations: 107.5 kB / 1.435 GB, free: 12.54 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001376/1.431, allocations: 0.6505 MB / 1.435 GB, free: 11.89 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/1.431, allocations: 0 / 1.435 GB, free: 11.89 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.683e-06/1.431, allocations: 0 / 1.435 GB, free: 11.89 MB / 1.123 GB Notification: Performance of Transformations before backend: time 8.757e-06/1.431, allocations: 0 / 1.435 GB, free: 11.89 MB / 1.123 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.001293/1.432, allocations: 0.5996 MB / 1.436 GB, free: 11.24 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/1.432, allocations: 12.03 kB / 1.436 GB, free: 11.23 MB / 1.123 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.744e-05/1.432, allocations: 8.562 kB / 1.436 GB, free: 11.22 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.497e-05/1.432, allocations: 62.66 kB / 1.436 GB, free: 11.15 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001231/1.434, allocations: 132.7 kB / 1.436 GB, free: 11.02 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003262/1.434, allocations: 223.7 kB / 1.436 GB, free: 10.77 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.292e-05/1.434, allocations: 12.38 kB / 1.436 GB, free: 10.75 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.715e-05/1.434, allocations: 19.92 kB / 1.436 GB, free: 10.73 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000626/1.435, allocations: 338.3 kB / 1.437 GB, free: 10.38 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/1.435, allocations: 4 kB / 1.437 GB, free: 10.38 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.702e-05/1.435, allocations: 8 kB / 1.437 GB, free: 10.37 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-05/1.435, allocations: 19.98 kB / 1.437 GB, free: 10.35 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005779/1.435, allocations: 324.1 kB / 1.437 GB, free: 10.04 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.001856/1.437, allocations: 1.106 MB / 1.438 GB, free: 8.84 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005222/1.438, allocations: 186.4 kB / 1.438 GB, free: 8.648 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000152/1.438, allocations: 80.73 kB / 1.438 GB, free: 8.566 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006225/1.438, allocations: 461.5 kB / 1.439 GB, free: 8.023 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.102e-05/1.438, allocations: 46.5 kB / 1.439 GB, free: 7.969 MB / 1.123 GB Notification: Performance of pre-optimization done (n=21): time 1.663e-06/1.438, allocations: 0 / 1.439 GB, free: 7.969 MB / 1.123 GB Notification: Performance of matching and sorting (n=21): time 0.0007404/1.439, allocations: 258.9 kB / 1.439 GB, free: 7.711 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.657e-05/1.439, allocations: 51.41 kB / 1.439 GB, free: 7.648 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002321/1.439, allocations: 207.1 kB / 1.439 GB, free: 7.434 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 3.958e-05/1.44, allocations: 33.7 kB / 1.439 GB, free: 7.395 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/1.44, allocations: 144.2 kB / 1.439 GB, free: 7.25 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 8.508e-05/1.44, allocations: 83.31 kB / 1.44 GB, free: 7.168 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/1.44, allocations: 53.7 kB / 1.44 GB, free: 7.109 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001609/1.44, allocations: 326.8 kB / 1.44 GB, free: 6.781 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/1.44, allocations: 68.22 kB / 1.44 GB, free: 6.715 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002248/1.44, allocations: 164.1 kB / 1.44 GB, free: 6.516 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004075/1.441, allocations: 261 kB / 1.44 GB, free: 6.223 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/1.441, allocations: 0 / 1.44 GB, free: 6.223 MB / 1.123 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005844/1.441, allocations: 281.2 kB / 1.441 GB, free: 5.941 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/1.441, allocations: 4 kB / 1.441 GB, free: 5.938 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.652e-05/1.441, allocations: 11.92 kB / 1.441 GB, free: 5.926 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.644e-05/1.441, allocations: 4 kB / 1.441 GB, free: 5.922 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000277/1.442, allocations: 51.92 kB / 1.441 GB, free: 5.871 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.716e-05/1.442, allocations: 7.938 kB / 1.441 GB, free: 5.863 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002295/1.442, allocations: 36.22 kB / 1.441 GB, free: 5.828 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.918e-05/1.442, allocations: 23.92 kB / 1.441 GB, free: 5.805 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.0001792/1.442, allocations: 129.8 kB / 1.441 GB, free: 5.668 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/1.442, allocations: 31.89 kB / 1.441 GB, free: 5.637 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005601/1.443, allocations: 275.2 kB / 1.441 GB, free: 5.359 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/1.443, allocations: 0 / 1.441 GB, free: 5.359 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/1.443, allocations: 3.938 kB / 1.441 GB, free: 5.355 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/1.443, allocations: 4 kB / 1.441 GB, free: 5.352 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008705/1.444, allocations: 0.5935 MB / 1.442 GB, free: 4.695 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/1.444, allocations: 0 / 1.442 GB, free: 4.695 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001903/1.444, allocations: 35.92 kB / 1.442 GB, free: 4.66 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/1.444, allocations: 0 / 1.442 GB, free: 4.66 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.098e-05/1.444, allocations: 8 kB / 1.442 GB, free: 4.652 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/1.444, allocations: 0 / 1.442 GB, free: 4.652 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.444, allocations: 0 / 1.442 GB, free: 4.652 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005916/1.445, allocations: 356.3 kB / 1.442 GB, free: 4.285 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001453/1.445, allocations: 116.9 kB / 1.442 GB, free: 4.152 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.322e-05/1.445, allocations: 11.98 kB / 1.442 GB, free: 4.141 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002463/1.445, allocations: 4 kB / 1.442 GB, free: 4.137 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.849e-05/1.445, allocations: 15.98 kB / 1.442 GB, free: 4.121 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.362e-05/1.445, allocations: 15.98 kB / 1.442 GB, free: 4.105 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0001382/1.445, allocations: 157.4 kB / 1.442 GB, free: 3.953 MB / 1.123 GB Notification: Performance of sort global known variables: time 9e-08/1.445, allocations: 0 / 1.442 GB, free: 3.953 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.000544/1.446, allocations: 131.7 kB / 1.443 GB, free: 3.824 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.001388/1.447, allocations: 0.9988 MB / 1.444 GB, free: 2.789 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0004715/1.448, allocations: 198.2 kB / 1.444 GB, free: 2.598 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/1.448, allocations: 4.25 kB / 1.444 GB, free: 2.594 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0001639/1.448, allocations: 95.89 kB / 1.444 GB, free: 2.5 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006616/1.448, allocations: 98.25 kB / 1.444 GB, free: 2.406 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00333/1.452, allocations: 2.501 MB / 1.446 GB, free: 15.75 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004235/1.452, allocations: 0.7366 MB / 1.447 GB, free: 14.98 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0002636/1.452, allocations: 66.17 kB / 1.447 GB, free: 14.92 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/1.453, allocations: 59.42 kB / 1.447 GB, free: 14.86 MB / 1.139 GB Notification: Performance of SimCode: time 8.31e-07/1.453, allocations: 0 / 1.447 GB, free: 14.86 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02693/1.48, allocations: 7.881 MB / 1.455 GB, free: 7.129 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.83/10.31, allocations: 9.609 kB / 1.455 GB, free: 7.121 MB / 1.139 GB " [Timeout remaining time 290] (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: 17.10578051500488]