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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008816/0.0008816, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.005593/0.005593, allocations: 170.5 kB / 16.26 MB, free: 6.613 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.274/1.274, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.217/2.217, allocations: 390.9 MB / 0.6664 GB, free: 2.297 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003103/0.0003103, allocations: 15.98 kB / 0.8161 GB, free: 13.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.658/0.6583, allocations: 142.4 MB / 0.9551 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1278/0.7862, allocations: 132.3 MB / 1.084 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02442/0.8107, allocations: 24.27 MB / 1.108 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.64e-05/0.8107, allocations: 0 / 1.108 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001866/0.8109, allocations: 39.8 kB / 1.108 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002091/0.8112, allocations: 91.48 kB / 1.108 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.01039/0.8216, allocations: 5.285 MB / 1.113 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0002971/0.8219, allocations: 307.8 kB / 1.114 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 4.083e-05/0.8219, allocations: 9.562 kB / 1.114 GB, free: 12.51 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002423/0.8222, allocations: 131.4 kB / 1.114 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.8223, allocations: 91.66 kB / 1.114 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.8223, allocations: 8 kB / 1.114 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01414/0.8365, allocations: 10.85 MB / 1.124 GB, free: 1.418 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 5.9e-05/0.8365, allocations: 39.88 kB / 1.124 GB, free: 1.379 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 8.462e-05/0.8366, allocations: 105.4 kB / 1.125 GB, free: 1.27 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.006956/0.8436, allocations: 6.16 MB / 1.131 GB, free: 11.1 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.8436, allocations: 0 / 1.131 GB, free: 11.1 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.393e-06/0.8436, allocations: 3.938 kB / 1.131 GB, free: 11.09 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.8436, allocations: 0 / 1.131 GB, free: 11.09 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.002145/0.8458, allocations: 1.15 MB / 1.132 GB, free: 9.895 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.8458, allocations: 8.031 kB / 1.132 GB, free: 9.887 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.904e-05/0.8459, allocations: 50.73 kB / 1.132 GB, free: 9.828 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009289/0.8468, allocations: 92.59 kB / 1.132 GB, free: 9.738 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001821/0.847, allocations: 224 kB / 1.132 GB, free: 9.48 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.847, allocations: 19.94 kB / 1.132 GB, free: 9.461 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.183e-05/0.847, allocations: 12 kB / 1.132 GB, free: 9.449 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009714/0.848, allocations: 460.5 kB / 1.133 GB, free: 8.98 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.848, allocations: 4 kB / 1.133 GB, free: 8.977 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.431e-05/0.8481, allocations: 8 kB / 1.133 GB, free: 8.969 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.8481, allocations: 4 kB / 1.133 GB, free: 8.965 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00105/0.8491, allocations: 0.5931 MB / 1.133 GB, free: 8.371 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008367/0.85, allocations: 0.8745 MB / 1.134 GB, free: 7.41 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007326/0.8507, allocations: 251.7 kB / 1.134 GB, free: 7.156 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.8508, allocations: 72.83 kB / 1.134 GB, free: 7.082 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07776/0.9286, allocations: 35.33 MB / 1.169 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.9286, allocations: 42.5 kB / 1.169 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of pre-optimization done (n=25): time 1.443e-06/0.9287, allocations: 4 kB / 1.169 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of matching and sorting (n=25): time 0.00144/0.9301, allocations: 423.6 kB / 1.169 GB, free: 192 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.552e-05/0.9301, allocations: 55.41 kB / 1.169 GB, free: 124 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.9302, allocations: 143.5 kB / 1.169 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.179e-05/0.9303, allocations: 29.7 kB / 1.169 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.81e-05/0.9303, allocations: 108.3 kB / 1.17 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.097e-05/0.9304, allocations: 90.73 kB / 1.17 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.636e-05/0.9305, allocations: 29.7 kB / 1.17 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 8.311e-05/0.9305, allocations: 322.8 kB / 1.17 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.9307, allocations: 79.95 kB / 1.17 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001804/0.9309, allocations: 133.1 kB / 1.17 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003529/0.9312, allocations: 219 kB / 1.17 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.9313, allocations: 7.938 kB / 1.17 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000592/0.9318, allocations: 295 kB / 1.171 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.9319, allocations: 4 kB / 1.171 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.9319, allocations: 4 kB / 1.171 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.9319, allocations: 3.984 kB / 1.171 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002521/0.9322, allocations: 80.05 kB / 1.171 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.9322, allocations: 11.92 kB / 1.171 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001424/0.9323, allocations: 23.78 kB / 1.171 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.472e-05/0.9324, allocations: 23.97 kB / 1.171 GB, free: 14.47 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.0001112/0.9325, allocations: 129.8 kB / 1.171 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001472/0.9326, allocations: 19.8 kB / 1.171 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002008/0.9346, allocations: 2.34 MB / 1.173 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.277e-05/0.9347, allocations: 11.98 kB / 1.173 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.9347, allocations: 3.984 kB / 1.173 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.9347, allocations: 7.938 kB / 1.173 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002737/0.9374, allocations: 3.427 MB / 1.177 GB, free: 8.406 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.9374, allocations: 0 / 1.177 GB, free: 8.406 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002335/0.9377, allocations: 55.89 kB / 1.177 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.646e-06/0.9377, allocations: 3.938 kB / 1.177 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.978e-05/0.9377, allocations: 11.98 kB / 1.177 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.9377, allocations: 0 / 1.177 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.9377, allocations: 0 / 1.177 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000632/0.9384, allocations: 0.5457 MB / 1.177 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.65e-05/0.9385, allocations: 144.5 kB / 1.177 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.809e-05/0.9385, allocations: 11.88 kB / 1.177 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002198/0.9387, allocations: 19.98 kB / 1.177 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.297e-05/0.9388, allocations: 11.98 kB / 1.177 GB, free: 7.57 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.436e-05/0.9388, allocations: 15.98 kB / 1.177 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.456e-05/0.9389, allocations: 109 kB / 1.178 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9389, allocations: 0 / 1.178 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00285/0.9417, allocations: 1.624 MB / 1.179 GB, free: 5.824 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.006046/0.9478, allocations: 2.881 MB / 1.182 GB, free: 2.914 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004484/0.9482, allocations: 319.7 kB / 1.182 GB, free: 2.605 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.9482, allocations: 4 kB / 1.182 GB, free: 2.602 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002575/0.9485, allocations: 245.7 kB / 1.182 GB, free: 2.363 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004702/0.949, allocations: 69.67 kB / 1.183 GB, free: 2.297 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003715/0.9527, allocations: 3.203 MB / 1.186 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002289/0.9529, allocations: 0.7661 MB / 1.186 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.000459/0.9534, allocations: 409.1 kB / 1.187 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001636/0.9536, allocations: 99.38 kB / 1.187 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of SimCode: time 2.21e-07/0.9536, allocations: 0 / 1.187 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.379/5.333, allocations: 60.52 MB / 1.246 GB, free: 1.211 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001943/5.333, allocations: 186.5 kB / 1.246 GB, free: 0.957 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.336/11.67, allocations: 0 / 1.246 GB, free: 0.957 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