Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamProperties,fileNamePrefix="Buildings_10_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.001359/0.001359, allocations: 115.3 kB / 15.34 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.001528/0.001528, allocations: 188.2 kB / 16.25 MB, free: 6.586 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.227/1.227, allocations: 222.9 MB / 239.9 MB, free: 4.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.546/2.546, allocations: 437 MB / 0.7101 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 63.91 kB / 0.8688 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5551/0.5565, allocations: 151.6 MB / 1.017 GB, free: 2.84 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1304/0.687, allocations: 134.2 MB / 1.148 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02847/0.7155, allocations: 22.99 MB / 1.17 GB, free: 5.086 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001716/0.7157, allocations: 0 / 1.17 GB, free: 5.086 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0003207/0.7161, allocations: 43.8 kB / 1.17 GB, free: 5.043 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003428/0.7165, allocations: 79.5 kB / 1.171 GB, free: 4.965 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0167/0.7332, allocations: 6.142 MB / 1.177 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004244/0.7336, allocations: 255.9 kB / 1.177 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 6.271e-05/0.7337, allocations: 9.562 kB / 1.177 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003607/0.7341, allocations: 139.4 kB / 1.177 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001759/0.7342, allocations: 91.66 kB / 1.177 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.742e-05/0.7343, allocations: 8 kB / 1.177 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01859/0.7529, allocations: 11.46 MB / 1.188 GB, free: 2.875 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.753, allocations: 43.89 kB / 1.188 GB, free: 2.832 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001261/0.7532, allocations: 75.66 kB / 1.188 GB, free: 2.758 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01715/0.7703, allocations: 6.526 MB / 1.195 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.7704, allocations: 0 / 1.195 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.124e-06/0.7704, allocations: 0 / 1.195 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.103e-05/0.7704, allocations: 0 / 1.195 GB, free: 12.22 MB / 0.9512 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.004813/0.7752, allocations: 1.201 MB / 1.196 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.7753, allocations: 8.031 kB / 1.196 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.682e-05/0.7754, allocations: 50.73 kB / 1.196 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001797/0.7772, allocations: 88.67 kB / 1.196 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003395/0.7775, allocations: 228.1 kB / 1.196 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.463e-05/0.7776, allocations: 19.88 kB / 1.196 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.335e-05/0.7776, allocations: 16 kB / 1.196 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001841/0.7795, allocations: 456.4 kB / 1.197 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.7795, allocations: 0 / 1.197 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.576e-05/0.7796, allocations: 12 kB / 1.197 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.7796, allocations: 8 kB / 1.197 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00185/0.7815, allocations: 0.5969 MB / 1.197 GB, free: 9.438 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001466/0.7829, allocations: 0.8783 MB / 1.198 GB, free: 8.473 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001323/0.7843, allocations: 250.3 kB / 1.198 GB, free: 8.219 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001924/0.7845, allocations: 72.83 kB / 1.198 GB, free: 8.145 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09042/0.8749, allocations: 35.04 MB / 1.233 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.875, allocations: 34.56 kB / 1.233 GB, free: 1.965 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=25): time 3.577e-06/0.875, allocations: 0 / 1.233 GB, free: 1.965 MB / 0.9825 GB Notification: Performance of matching and sorting (n=25): time 0.001839/0.8768, allocations: 419.5 kB / 1.233 GB, free: 1.551 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.8769, allocations: 59.41 kB / 1.233 GB, free: 1.48 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.877, allocations: 144 kB / 1.233 GB, free: 1.332 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.514e-05/0.8771, allocations: 33.7 kB / 1.233 GB, free: 1.293 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.382e-05/0.8771, allocations: 104.4 kB / 1.233 GB, free: 1.184 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.919e-05/0.8772, allocations: 86.73 kB / 1.233 GB, free: 1.098 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/0.8774, allocations: 89.5 kB / 1.234 GB, free: 1.004 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.8775, allocations: 322.8 kB / 1.234 GB, free: 0.6797 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001806/0.8777, allocations: 79.95 kB / 1.234 GB, free: 0.6016 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002317/0.8779, allocations: 133.1 kB / 1.234 GB, free: 464 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000419/0.8783, allocations: 216.3 kB / 1.234 GB, free: 232 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.8783, allocations: 0 / 1.234 GB, free: 232 kB / 0.9825 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007668/0.8791, allocations: 293.4 kB / 1.235 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.8791, allocations: 8 kB / 1.235 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.8792, allocations: 0 / 1.235 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.8792, allocations: 4 kB / 1.235 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002995/0.8795, allocations: 83.88 kB / 1.235 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.8795, allocations: 3.984 kB / 1.235 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001674/0.8797, allocations: 31.84 kB / 1.235 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.426e-05/0.8797, allocations: 23.98 kB / 1.235 GB, free: 15.78 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 0.0001307/0.8799, allocations: 126.3 kB / 1.235 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001828/0.88, allocations: 19.81 kB / 1.235 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00223/0.8823, allocations: 2.354 MB / 1.237 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-05/0.8823, allocations: 7.984 kB / 1.237 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.8823, allocations: 0 / 1.237 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.8823, allocations: 7.922 kB / 1.237 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003054/0.8854, allocations: 3.43 MB / 1.241 GB, free: 9.711 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.8854, allocations: 0 / 1.241 GB, free: 9.711 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002716/0.8857, allocations: 51.95 kB / 1.241 GB, free: 9.66 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.8857, allocations: 3.938 kB / 1.241 GB, free: 9.656 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.495e-05/0.8857, allocations: 11.98 kB / 1.241 GB, free: 9.645 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.8857, allocations: 0 / 1.241 GB, free: 9.645 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.8857, allocations: 0 / 1.241 GB, free: 9.645 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007548/0.8865, allocations: 0.5507 MB / 1.241 GB, free: 9.078 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.8866, allocations: 144.5 kB / 1.241 GB, free: 8.918 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.769e-05/0.8867, allocations: 15.88 kB / 1.241 GB, free: 8.902 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002327/0.8869, allocations: 11.98 kB / 1.241 GB, free: 8.891 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.92e-05/0.887, allocations: 19.97 kB / 1.241 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.132e-05/0.887, allocations: 15.98 kB / 1.241 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.433e-05/0.8871, allocations: 104.8 kB / 1.241 GB, free: 8.754 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.31e-07/0.8871, allocations: 0 / 1.241 GB, free: 8.754 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004154/0.8913, allocations: 1.691 MB / 1.243 GB, free: 7.062 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.009246/0.9005, allocations: 2.936 MB / 1.246 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000756/0.9013, allocations: 334.1 kB / 1.246 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.87e-06/0.9013, allocations: 0 / 1.246 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003249/0.9017, allocations: 241.4 kB / 1.246 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005631/0.9022, allocations: 69.22 kB / 1.247 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007857/0.9101, allocations: 3.154 MB / 1.25 GB, free: 208 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4337/1.344, allocations: 0.7654 MB / 1.25 GB, free: 229.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006897/1.345, allocations: 408.9 kB / 1.251 GB, free: 229.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000222/1.345, allocations: 95.7 kB / 1.251 GB, free: 229.3 MB / 0.9981 GB Notification: Performance of SimCode: time 8.01e-07/1.345, allocations: 0.5938 kB / 1.251 GB, free: 229.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8053/2.15, allocations: 63.28 MB / 1.313 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001519/2.15, allocations: 184.2 kB / 1.313 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.584/7.734, allocations: 3.938 kB / 1.313 GB, free: 185.4 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Media.Examples.SteamProperties.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.SteamProperties.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.SteamProperties.pipe >> ../files/Buildings_10_Buildings.Media.Examples.SteamProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Examples.SteamProperties_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Examples_SteamProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Media_Examples_SteamProperties.fmu > Buildings_10_Buildings.Media.Examples.SteamProperties.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.SteamProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_SteamProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.SteamProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches