Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamProperties,fileNamePrefix="Buildings_9_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.001452/0.001452, allocations: 108 kB / 15.61 MB, free: 152 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.001496/0.001496, allocations: 192.8 kB / 16.53 MB, free: 6.664 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.216/1.216, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.172/2.172, allocations: 390.2 MB / 0.6647 GB, free: 420 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 63.89 kB / 0.8126 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5579/0.5592, allocations: 140.4 MB / 0.9497 GB, free: 9.02 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1293/0.6886, allocations: 136.1 MB / 1.083 GB, free: 9.195 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02334/0.712, allocations: 22.33 MB / 1.104 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000137/0.7121, allocations: 4 kB / 1.104 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002432/0.7124, allocations: 51.67 kB / 1.105 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002614/0.7127, allocations: 95.36 kB / 1.105 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.01379/0.7265, allocations: 6.688 MB / 1.111 GB, free: 11.97 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0003224/0.7268, allocations: 243.9 kB / 1.111 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 5.198e-05/0.7269, allocations: 13.56 kB / 1.111 GB, free: 11.72 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002838/0.7272, allocations: 139.4 kB / 1.112 GB, free: 11.58 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.7273, allocations: 87.66 kB / 1.112 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 2.198e-05/0.7273, allocations: 8 kB / 1.112 GB, free: 11.49 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01677/0.7441, allocations: 10.68 MB / 1.122 GB, free: 0.7969 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 9.906e-05/0.7443, allocations: 39.89 kB / 1.122 GB, free: 0.7578 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001394/0.7444, allocations: 87.58 kB / 1.122 GB, free: 0.6719 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.01391/0.7583, allocations: 6.164 MB / 1.128 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/0.7584, allocations: 0 / 1.128 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.813e-06/0.7584, allocations: 0 / 1.128 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.7584, allocations: 0 / 1.128 GB, free: 10.5 MB / 0.8887 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.003326/0.7617, allocations: 1.189 MB / 1.129 GB, free: 9.258 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.7618, allocations: 12.03 kB / 1.129 GB, free: 9.246 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.279e-05/0.7618, allocations: 54.73 kB / 1.129 GB, free: 9.184 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001159/0.763, allocations: 80.75 kB / 1.129 GB, free: 9.105 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002703/0.7633, allocations: 228 kB / 1.13 GB, free: 8.844 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.264e-05/0.7633, allocations: 23.92 kB / 1.13 GB, free: 8.82 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.85e-05/0.7634, allocations: 12 kB / 1.13 GB, free: 8.809 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/0.7646, allocations: 460.5 kB / 1.13 GB, free: 8.34 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.7646, allocations: 0 / 1.13 GB, free: 8.34 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.472e-05/0.7646, allocations: 4 kB / 1.13 GB, free: 8.336 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.7646, allocations: 4 kB / 1.13 GB, free: 8.332 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001176/0.7658, allocations: 0.597 MB / 1.131 GB, free: 7.734 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.7669, allocations: 0.8784 MB / 1.132 GB, free: 6.77 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007931/0.7677, allocations: 247.1 kB / 1.132 GB, free: 6.52 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/0.7678, allocations: 72.83 kB / 1.132 GB, free: 6.445 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08751/0.8553, allocations: 35.05 MB / 1.166 GB, free: 308 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.203e-05/0.8554, allocations: 42.56 kB / 1.166 GB, free: 256 kB / 0.92 GB Notification: Performance of pre-optimization done (n=25): time 1.953e-06/0.8554, allocations: 0 / 1.166 GB, free: 256 kB / 0.92 GB Notification: Performance of matching and sorting (n=25): time 0.001728/0.8572, allocations: 419.8 kB / 1.167 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.8572, allocations: 51.41 kB / 1.167 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.8573, allocations: 143.5 kB / 1.167 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.603e-05/0.8574, allocations: 37.64 kB / 1.167 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.556e-05/0.8575, allocations: 104.4 kB / 1.167 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.137e-05/0.8576, allocations: 86.75 kB / 1.167 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/0.8577, allocations: 77.58 kB / 1.167 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.8578, allocations: 330.8 kB / 1.167 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001778/0.858, allocations: 79.95 kB / 1.167 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002382/0.8582, allocations: 133.5 kB / 1.168 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004162/0.8587, allocations: 215 kB / 1.168 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.8587, allocations: 0 / 1.168 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006739/0.8593, allocations: 295 kB / 1.168 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.8594, allocations: 8 kB / 1.168 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.8594, allocations: 160 / 1.168 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.8594, allocations: 8 kB / 1.168 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002756/0.8597, allocations: 79.88 kB / 1.168 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.8597, allocations: 4 kB / 1.168 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001413/0.8599, allocations: 23.69 kB / 1.168 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.169e-05/0.8599, allocations: 27.97 kB / 1.168 GB, free: 14.08 MB / 0.9356 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 0.0001257/0.86, allocations: 125.8 kB / 1.168 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000173/0.8602, allocations: 19.81 kB / 1.168 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002188/0.8624, allocations: 2.342 MB / 1.171 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.594e-05/0.8624, allocations: 15.98 kB / 1.171 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.8624, allocations: 7.938 kB / 1.171 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.8625, allocations: 7.922 kB / 1.171 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002982/0.8654, allocations: 3.419 MB / 1.174 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.8655, allocations: 0 / 1.174 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002461/0.8657, allocations: 55.89 kB / 1.174 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.8657, allocations: 3.938 kB / 1.174 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.142e-05/0.8658, allocations: 8 kB / 1.174 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.8658, allocations: 4 kB / 1.174 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.8658, allocations: 4 kB / 1.174 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007543/0.8665, allocations: 0.5502 MB / 1.175 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/0.8667, allocations: 148.5 kB / 1.175 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.509e-05/0.8667, allocations: 11.94 kB / 1.175 GB, free: 7.203 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002058/0.8669, allocations: 8 kB / 1.175 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.86e-05/0.867, allocations: 15.97 kB / 1.175 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.85e-05/0.867, allocations: 16 kB / 1.175 GB, free: 7.164 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.895e-05/0.8671, allocations: 113.1 kB / 1.175 GB, free: 7.055 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8671, allocations: 0 / 1.175 GB, free: 7.055 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.004629/0.8717, allocations: 1.616 MB / 1.177 GB, free: 5.438 MB / 0.9356 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.00884/0.8806, allocations: 2.885 MB / 1.179 GB, free: 2.52 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007065/0.8813, allocations: 340.5 kB / 1.18 GB, free: 2.191 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.8813, allocations: 0 / 1.18 GB, free: 2.191 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003055/0.8816, allocations: 240.5 kB / 1.18 GB, free: 1.957 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00055/0.8822, allocations: 64.2 kB / 1.18 GB, free: 1.895 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005297/0.8875, allocations: 3.048 MB / 1.183 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.8878, allocations: 0.7699 MB / 1.184 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0005138/0.8883, allocations: 413.2 kB / 1.184 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001885/0.8885, allocations: 99.38 kB / 1.184 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of SimCode: time 4.51e-07/0.8886, allocations: 0 / 1.184 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1037/0.9923, allocations: 60.93 MB / 1.244 GB, free: 0.5078 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.94, allocations: 3.75 kB / 1.244 GB, free: 0.5039 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Media.Examples.SteamProperties.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.SteamProperties.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.SteamProperties.pipe >> ../files/Buildings_9_Buildings.Media.Examples.SteamProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Media.Examples.SteamProperties_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Examples_SteamProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Examples_SteamProperties.fmu > Buildings_9_Buildings.Media.Examples.SteamProperties.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.SteamProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_SteamProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.SteamProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches