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.001269/0.00127, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 194.5 kB / 16.25 MB, free: 6.629 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.226/1.226, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.145/2.145, allocations: 390.2 MB / 0.6644 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 59.91 kB / 0.8121 GB, free: 14.71 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5611/0.5623, allocations: 140.4 MB / 0.9492 GB, free: 9.055 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1368/0.6991, allocations: 134.2 MB / 1.08 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02657/0.7257, allocations: 22.62 MB / 1.102 GB, free: 4.637 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001781/0.726, allocations: 0 / 1.102 GB, free: 4.637 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003245/0.7263, allocations: 39.8 kB / 1.102 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003455/0.7267, allocations: 79.48 kB / 1.102 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.01593/0.7426, allocations: 5.922 MB / 1.108 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0003867/0.743, allocations: 247.9 kB / 1.109 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 4.656e-05/0.7431, allocations: 9.562 kB / 1.109 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003452/0.7434, allocations: 139.5 kB / 1.109 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001529/0.7436, allocations: 91.66 kB / 1.109 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 2.234e-05/0.7436, allocations: 8 kB / 1.109 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01896/0.7626, allocations: 10.81 MB / 1.119 GB, free: 3.309 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 9.91e-05/0.7627, allocations: 35.89 kB / 1.119 GB, free: 3.273 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001226/0.7629, allocations: 87.58 kB / 1.119 GB, free: 3.188 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.01253/0.7754, allocations: 6.187 MB / 1.125 GB, free: 12.99 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.7754, allocations: 0 / 1.125 GB, free: 12.99 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7754, allocations: 4 kB / 1.125 GB, free: 12.98 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.193e-06/0.7755, allocations: 0 / 1.125 GB, free: 12.98 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.003126/0.7786, allocations: 1.193 MB / 1.127 GB, free: 11.74 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.7786, allocations: 8.031 kB / 1.127 GB, free: 11.73 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.556e-05/0.7787, allocations: 54.73 kB / 1.127 GB, free: 11.67 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001059/0.7798, allocations: 80.75 kB / 1.127 GB, free: 11.59 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/0.78, allocations: 224 kB / 1.127 GB, free: 11.34 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.78, allocations: 15.94 kB / 1.127 GB, free: 11.32 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.669e-05/0.7801, allocations: 23.94 kB / 1.127 GB, free: 11.3 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/0.7812, allocations: 452.5 kB / 1.127 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.7812, allocations: 0 / 1.127 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.707e-05/0.7813, allocations: 12 kB / 1.127 GB, free: 10.82 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.7813, allocations: 4 kB / 1.127 GB, free: 10.82 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0012/0.7825, allocations: 0.5931 MB / 1.128 GB, free: 10.23 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001087/0.7836, allocations: 0.8784 MB / 1.129 GB, free: 9.262 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008438/0.7845, allocations: 250.4 kB / 1.129 GB, free: 9.008 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.7846, allocations: 72.84 kB / 1.129 GB, free: 8.934 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.078/0.8626, allocations: 35.04 MB / 1.163 GB, free: 2.801 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.8626, allocations: 38.56 kB / 1.163 GB, free: 2.754 MB / 0.92 GB Notification: Performance of pre-optimization done (n=25): time 1.883e-06/0.8627, allocations: 0 / 1.163 GB, free: 2.754 MB / 0.92 GB Notification: Performance of matching and sorting (n=25): time 0.001673/0.8643, allocations: 419.8 kB / 1.164 GB, free: 2.34 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/0.8644, allocations: 55.41 kB / 1.164 GB, free: 2.273 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.8645, allocations: 147.7 kB / 1.164 GB, free: 2.121 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.544e-05/0.8646, allocations: 29.7 kB / 1.164 GB, free: 2.086 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.709e-05/0.8646, allocations: 112.4 kB / 1.164 GB, free: 1.969 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 6.998e-05/0.8647, allocations: 86.75 kB / 1.164 GB, free: 1.883 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/0.8649, allocations: 77.58 kB / 1.164 GB, free: 1.801 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.865, allocations: 322.8 kB / 1.165 GB, free: 1.477 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001803/0.8652, allocations: 87.88 kB / 1.165 GB, free: 1.391 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002288/0.8654, allocations: 129.1 kB / 1.165 GB, free: 1.246 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004069/0.8658, allocations: 215 kB / 1.165 GB, free: 1.02 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.8658, allocations: 0 / 1.165 GB, free: 1.02 MB / 0.92 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006803/0.8665, allocations: 299 kB / 1.165 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.8665, allocations: 8 kB / 1.165 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.8666, allocations: 0 / 1.165 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.8666, allocations: 4 kB / 1.165 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003009/0.8669, allocations: 83.88 kB / 1.165 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.8669, allocations: 4 kB / 1.165 GB, free: 0.625 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001638/0.8671, allocations: 23.69 kB / 1.165 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.706e-05/0.8671, allocations: 27.97 kB / 1.165 GB, free: 0.5742 MB / 0.92 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.0001332/0.8673, allocations: 133.9 kB / 1.166 GB, free: 444 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001716/0.8674, allocations: 15.81 kB / 1.166 GB, free: 428 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002214/0.8697, allocations: 2.351 MB / 1.168 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/0.8697, allocations: 7.984 kB / 1.168 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.8697, allocations: 4 kB / 1.168 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.8697, allocations: 7.875 kB / 1.168 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00301/0.8727, allocations: 3.423 MB / 1.171 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.8727, allocations: 0 / 1.171 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002747/0.873, allocations: 59.94 kB / 1.171 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.873, allocations: 3.938 kB / 1.171 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.207e-05/0.8731, allocations: 8 kB / 1.171 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.8731, allocations: 4 kB / 1.171 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.8731, allocations: 0 / 1.171 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007876/0.8739, allocations: 0.5495 MB / 1.172 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.874, allocations: 136.5 kB / 1.172 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.817e-05/0.8741, allocations: 15.92 kB / 1.172 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002213/0.8743, allocations: 16 kB / 1.172 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.045e-05/0.8743, allocations: 15.97 kB / 1.172 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.774e-05/0.8744, allocations: 12 kB / 1.172 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.2e-05/0.8744, allocations: 108.8 kB / 1.172 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8744, allocations: 0 / 1.172 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.003914/0.8784, allocations: 1.624 MB / 1.174 GB, free: 7.926 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.008334/0.8867, allocations: 2.893 MB / 1.177 GB, free: 5.004 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006643/0.8874, allocations: 339.6 kB / 1.177 GB, free: 4.676 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.8874, allocations: 4 kB / 1.177 GB, free: 4.672 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002854/0.8877, allocations: 241.4 kB / 1.177 GB, free: 4.438 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005036/0.8882, allocations: 65.66 kB / 1.177 GB, free: 4.375 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004838/0.8931, allocations: 3.161 MB / 1.18 GB, free: 1.094 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002814/0.8934, allocations: 0.7699 MB / 1.181 GB, free: 308 kB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0005188/0.8939, allocations: 412.9 kB / 1.181 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001886/0.8941, allocations: 99.38 kB / 1.182 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of SimCode: time 3.41e-07/0.8941, allocations: 0 / 1.182 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.933/3.827, allocations: 60.89 MB / 1.241 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002104/3.827, allocations: 194.9 kB / 1.241 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.173/9, allocations: 0 / 1.241 GB, free: 2.691 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