Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.SteamProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.SteamProperties,fileNamePrefix="Buildings_11_Buildings_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamProperties,fileNamePrefix="Buildings_11_Buildings_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001723/0.001723, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0022/0.0022, allocations: 194.1 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.279/1.279, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.512/2.512, allocations: 469.8 MB / 0.7424 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001697/0.001697, allocations: 62.75 kB / 0.9086 GB, free: 34.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2465/0.2483, allocations: 159.2 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1395/0.3878, allocations: 136.1 MB / 1.197 GB, free: 5.535 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02543/0.4133, allocations: 22.67 MB / 1.219 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.4134, allocations: 0 / 1.219 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002086/0.4136, allocations: 51.67 kB / 1.219 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002468/0.4139, allocations: 95.36 kB / 1.219 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.01411/0.428, allocations: 6.945 MB / 1.226 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003102/0.4283, allocations: 251.9 kB / 1.226 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.496e-05/0.4284, allocations: 13.56 kB / 1.226 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002702/0.4287, allocations: 135.4 kB / 1.226 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.4288, allocations: 99.59 kB / 1.227 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.216e-05/0.4288, allocations: 8 kB / 1.227 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01766/0.4465, allocations: 11.33 MB / 1.238 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.753e-05/0.4466, allocations: 35.89 kB / 1.238 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001195/0.4467, allocations: 83.59 kB / 1.238 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01128/0.458, allocations: 6.484 MB / 1.244 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.458, allocations: 4 kB / 1.244 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.233e-06/0.4581, allocations: 0 / 1.244 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.455e-06/0.4581, allocations: 0 / 1.244 GB, free: 5.25 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.002106/0.4602, allocations: 1.201 MB / 1.245 GB, free: 4 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.4602, allocations: 11.97 kB / 1.245 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.302e-05/0.4603, allocations: 54.73 kB / 1.245 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008982/0.4612, allocations: 84.66 kB / 1.245 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000208/0.4614, allocations: 228 kB / 1.246 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.4614, allocations: 23.88 kB / 1.246 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.4614, allocations: 16 kB / 1.246 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.4625, allocations: 456.4 kB / 1.246 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.4625, allocations: 0 / 1.246 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.368e-05/0.4625, allocations: 8 kB / 1.246 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.4625, allocations: 4 kB / 1.246 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001136/0.4637, allocations: 0.5931 MB / 1.247 GB, free: 2.473 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009473/0.4646, allocations: 0.8745 MB / 1.247 GB, free: 1.512 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007548/0.4654, allocations: 260 kB / 1.248 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.4655, allocations: 76.77 kB / 1.248 GB, free: 1.172 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.423/0.8885, allocations: 35.03 MB / 1.282 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.8886, allocations: 37.75 kB / 1.282 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=25): time 1.823e-06/0.8886, allocations: 0 / 1.282 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=25): time 0.001491/0.8901, allocations: 415 kB / 1.282 GB, free: 165.7 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.8901, allocations: 62.03 kB / 1.283 GB, free: 165.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.763e-05/0.8902, allocations: 155 kB / 1.283 GB, free: 165.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.679e-05/0.8902, allocations: 28.17 kB / 1.283 GB, free: 165.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.563e-05/0.8903, allocations: 110 kB / 1.283 GB, free: 165.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.563e-05/0.8903, allocations: 85.34 kB / 1.283 GB, free: 165.3 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.235e-05/0.8904, allocations: 83.5 kB / 1.283 GB, free: 165.3 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.678e-05/0.8905, allocations: 327 kB / 1.283 GB, free: 165 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.8906, allocations: 77.02 kB / 1.283 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001892/0.8908, allocations: 135.4 kB / 1.283 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003749/0.8912, allocations: 217.2 kB / 1.284 GB, free: 164.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.8912, allocations: 5.219 kB / 1.284 GB, free: 164.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006539/0.8919, allocations: 293.5 kB / 1.284 GB, free: 164.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.8919, allocations: 6.094 kB / 1.284 GB, free: 164.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.8919, allocations: 1.375 kB / 1.284 GB, free: 164.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.8919, allocations: 6.828 kB / 1.284 GB, free: 164.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002479/0.8922, allocations: 76.81 kB / 1.284 GB, free: 164.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.8922, allocations: 11.33 kB / 1.284 GB, free: 164.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/0.8923, allocations: 21.12 kB / 1.284 GB, free: 164.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.449e-05/0.8923, allocations: 29.2 kB / 1.284 GB, free: 164.7 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 9.059e-05/0.8924, allocations: 125.3 kB / 1.284 GB, free: 164.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001641/0.8926, allocations: 16.78 kB / 1.284 GB, free: 164.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001746/0.8944, allocations: 2.346 MB / 1.287 GB, free: 164.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.949e-06/0.8944, allocations: 16.11 kB / 1.287 GB, free: 164.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.8944, allocations: 5.281 kB / 1.287 GB, free: 164.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.8944, allocations: 3.984 kB / 1.287 GB, free: 164.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002309/0.8967, allocations: 3.419 MB / 1.29 GB, free: 163.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.8967, allocations: 0.6875 kB / 1.29 GB, free: 163.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002213/0.897, allocations: 59.05 kB / 1.29 GB, free: 163.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.897, allocations: 1.25 kB / 1.29 GB, free: 163.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.897, allocations: 10.14 kB / 1.29 GB, free: 163.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.897, allocations: 3.156 kB / 1.29 GB, free: 163.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.897, allocations: 0 / 1.29 GB, free: 163.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000599/0.8976, allocations: 0.5542 MB / 1.291 GB, free: 162.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.891e-05/0.8977, allocations: 152.4 kB / 1.291 GB, free: 162.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.128e-05/0.8977, allocations: 5 kB / 1.291 GB, free: 162.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001873/0.8979, allocations: 14.77 kB / 1.291 GB, free: 162.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.141e-05/0.898, allocations: 16.27 kB / 1.291 GB, free: 162.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.342e-05/0.898, allocations: 13.3 kB / 1.291 GB, free: 162.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.777e-05/0.898, allocations: 107.2 kB / 1.291 GB, free: 162.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.898, allocations: 0 / 1.291 GB, free: 162.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002894/0.9009, allocations: 1.689 MB / 1.292 GB, free: 162.4 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.006557/0.9075, allocations: 2.935 MB / 1.295 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005004/0.908, allocations: 340.3 kB / 1.296 GB, free: 160.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.908, allocations: 0 / 1.296 GB, free: 160.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002043/0.9082, allocations: 242.6 kB / 1.296 GB, free: 160.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004367/0.9087, allocations: 65.14 kB / 1.296 GB, free: 160.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00332/0.912, allocations: 3.044 MB / 1.299 GB, free: 158.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001178/0.9121, allocations: 0.7643 MB / 1.3 GB, free: 157.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003446/0.9125, allocations: 407.5 kB / 1.3 GB, free: 157.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001326/0.9126, allocations: 102.9 kB / 1.3 GB, free: 157.6 MB / 0.9981 GB Notification: Performance of SimCode: time 2.3e-07/0.9126, allocations: 0 / 1.3 GB, free: 157.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.14/8.053, allocations: 63.31 MB / 1.362 GB, free: 95.89 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.61/25.67, allocations: 6.938 kB / 1.362 GB, free: 95.89 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Media.Examples.SteamProperties.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.SteamProperties.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.SteamProperties.pipe >> ../files/Buildings_11_Buildings.Media.Examples.SteamProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Examples.SteamProperties_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Examples_SteamProperties_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Media_Examples_SteamProperties.fmu > Buildings_11_Buildings.Media.Examples.SteamProperties.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Examples.SteamProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_SteamProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.SteamProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches