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.001875/0.001875, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002289/0.002289, allocations: 217.8 kB / 23.04 MB, free: 5.074 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.484/1.484, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.358/3.358, allocations: 0.5003 GB / 0.8061 GB, free: 26.77 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="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.002089/0.002089, allocations: 61.83 kB / 1.171 GB, free: 19.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3814/0.3835, allocations: 179 MB / 1.345 GB, free: 452 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1939/0.5774, allocations: 152.4 MB / 1.494 GB, free: 7.398 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.004994/0.5824, allocations: 3.645 MB / 1.498 GB, free: 3.742 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001872/0.5826, allocations: 4 kB / 1.498 GB, free: 3.738 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0004412/0.583, allocations: 71.56 kB / 1.498 GB, free: 3.668 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0004457/0.5835, allocations: 139.2 kB / 1.498 GB, free: 3.531 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003233/0.5867, allocations: 1.064 MB / 1.499 GB, free: 2.465 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0004883/0.5872, allocations: 319.7 kB / 1.499 GB, free: 2.148 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 6.484e-05/0.5873, allocations: 9.75 kB / 1.499 GB, free: 2.137 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005021/0.5878, allocations: 199.4 kB / 1.5 GB, free: 1.941 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002682/0.588, allocations: 143.4 kB / 1.5 GB, free: 1.801 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 3.51e-05/0.5881, allocations: 16 kB / 1.5 GB, free: 1.785 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002602/0.5907, allocations: 1.325 MB / 1.501 GB, free: 468 kB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.5908, allocations: 71.78 kB / 1.501 GB, free: 396 kB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.000148/0.5909, allocations: 107.5 kB / 1.501 GB, free: 288 kB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001539/0.5925, allocations: 0.6465 MB / 1.502 GB, free: 15.63 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.5925, allocations: 0 / 1.502 GB, free: 15.63 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5925, allocations: 0 / 1.502 GB, free: 15.63 MB / 1.201 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.5925, allocations: 0 / 1.502 GB, free: 15.63 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.00123/0.5937, allocations: 0.5204 MB / 1.502 GB, free: 15.08 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.5938, allocations: 12.03 kB / 1.502 GB, free: 15.07 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.472e-05/0.5938, allocations: 4.562 kB / 1.502 GB, free: 15.07 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.091e-05/0.5939, allocations: 70.64 kB / 1.502 GB, free: 14.99 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001268/0.5951, allocations: 136.7 kB / 1.503 GB, free: 14.86 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002812/0.5954, allocations: 165.8 kB / 1.503 GB, free: 14.67 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.716e-05/0.5954, allocations: 16.38 kB / 1.503 GB, free: 14.65 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.543e-05/0.5955, allocations: 16 kB / 1.503 GB, free: 14.64 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006402/0.5961, allocations: 350 kB / 1.503 GB, free: 14.27 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.5961, allocations: 0 / 1.503 GB, free: 14.27 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.505e-05/0.5962, allocations: 8 kB / 1.503 GB, free: 14.27 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.407e-05/0.5962, allocations: 12 kB / 1.503 GB, free: 14.25 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005922/0.5968, allocations: 324.1 kB / 1.503 GB, free: 13.94 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.001803/0.5986, allocations: 1.093 MB / 1.504 GB, free: 12.76 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005139/0.5991, allocations: 176.5 kB / 1.505 GB, free: 12.58 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000142/0.5992, allocations: 80.75 kB / 1.505 GB, free: 12.5 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003783/0.5996, allocations: 79.92 kB / 1.505 GB, free: 12.42 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.5997, allocations: 38.5 kB / 1.505 GB, free: 12.38 MB / 1.201 GB Notification: Performance of pre-optimization done (n=21): time 1.503e-06/0.5997, allocations: 0 / 1.505 GB, free: 12.38 MB / 1.201 GB Notification: Performance of matching and sorting (n=21): time 0.0007303/0.6004, allocations: 262.9 kB / 1.505 GB, free: 12.11 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.6004, allocations: 51.41 kB / 1.505 GB, free: 12.05 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002341/0.6007, allocations: 215.1 kB / 1.505 GB, free: 11.83 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.925e-05/0.6007, allocations: 33.7 kB / 1.505 GB, free: 11.79 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.6008, allocations: 140.2 kB / 1.505 GB, free: 11.64 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 6.898e-05/0.6009, allocations: 79.36 kB / 1.506 GB, free: 11.57 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.601, allocations: 57.66 kB / 1.506 GB, free: 11.5 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.6012, allocations: 326.8 kB / 1.506 GB, free: 11.18 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001388/0.6013, allocations: 72.23 kB / 1.506 GB, free: 11.11 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002151/0.6015, allocations: 171.5 kB / 1.506 GB, free: 10.9 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003596/0.6019, allocations: 251 kB / 1.506 GB, free: 10.62 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.6019, allocations: 4 kB / 1.506 GB, free: 10.61 MB / 1.201 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005973/0.6025, allocations: 277.2 kB / 1.507 GB, free: 10.34 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.6025, allocations: 4 kB / 1.507 GB, free: 10.33 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.6025, allocations: 7.938 kB / 1.507 GB, free: 10.32 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.6025, allocations: 4.375 kB / 1.507 GB, free: 10.32 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002793/0.6028, allocations: 64.02 kB / 1.507 GB, free: 10.26 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.6028, allocations: 7.938 kB / 1.507 GB, free: 10.25 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002146/0.603, allocations: 35.67 kB / 1.507 GB, free: 10.21 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.21e-05/0.6031, allocations: 12 kB / 1.507 GB, free: 10.2 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.0001517/0.6032, allocations: 141.7 kB / 1.507 GB, free: 10.05 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001605/0.6034, allocations: 19.91 kB / 1.507 GB, free: 10.04 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005293/0.6039, allocations: 291.2 kB / 1.507 GB, free: 9.75 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.6039, allocations: 4 kB / 1.507 GB, free: 9.746 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.6039, allocations: 3.984 kB / 1.507 GB, free: 9.742 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.6039, allocations: 0 / 1.507 GB, free: 9.742 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000847/0.6048, allocations: 0.5535 MB / 1.508 GB, free: 9.133 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.6048, allocations: 0 / 1.508 GB, free: 9.133 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000196/0.605, allocations: 39.92 kB / 1.508 GB, free: 9.094 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.605, allocations: 0 / 1.508 GB, free: 9.094 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/0.605, allocations: 4 kB / 1.508 GB, free: 9.09 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.605, allocations: 8.047 kB / 1.508 GB, free: 9.082 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.605, allocations: 0 / 1.508 GB, free: 9.082 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000559/0.6055, allocations: 352.8 kB / 1.508 GB, free: 8.715 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/0.6057, allocations: 47.75 kB / 1.508 GB, free: 8.668 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.765e-05/0.6057, allocations: 8 kB / 1.508 GB, free: 8.66 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002431/0.606, allocations: 11.98 kB / 1.508 GB, free: 8.648 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.296e-05/0.606, allocations: 23.83 kB / 1.508 GB, free: 8.625 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.301e-05/0.606, allocations: 11.98 kB / 1.508 GB, free: 8.613 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.000175/0.6062, allocations: 149.5 kB / 1.508 GB, free: 8.469 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6062, allocations: 0 / 1.508 GB, free: 8.469 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0005309/0.6067, allocations: 119.8 kB / 1.508 GB, free: 8.352 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.001283/0.608, allocations: 0.996 MB / 1.509 GB, free: 7.32 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.000427/0.6085, allocations: 203.7 kB / 1.51 GB, free: 7.121 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.6085, allocations: 4 kB / 1.51 GB, free: 7.117 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0001486/0.6086, allocations: 93.3 kB / 1.51 GB, free: 7.027 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006766/0.6093, allocations: 96.66 kB / 1.51 GB, free: 6.934 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00357/0.6129, allocations: 2.513 MB / 1.512 GB, free: 4.258 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004208/0.6133, allocations: 0.7367 MB / 1.513 GB, free: 3.496 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.000288/0.6136, allocations: 58.25 kB / 1.513 GB, free: 3.438 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/0.6137, allocations: 59.42 kB / 1.513 GB, free: 3.379 MB / 1.201 GB Notification: Performance of SimCode: time 7.71e-07/0.6137, allocations: 0 / 1.513 GB, free: 3.379 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03356/0.6473, allocations: 8.155 MB / 1.521 GB, free: 11.42 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.6, allocations: 14.27 kB / 1.521 GB, free: 11.41 MB / 1.217 GB " [Timeout remaining time 287] (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.671079601044767]