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.007635/0.007635, allocations: 101.2 kB / 15.73 MB, free: 6.043 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.001752/0.001752, allocations: 195.6 kB / 16.67 MB, free: 5.977 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.325/1.325, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.42/2.42, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 67.36 kB / 0.9504 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.265/0.2662, allocations: 140.4 MB / 1.087 GB, free: 1.98 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1395/0.4057, allocations: 136.1 MB / 1.22 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02369/0.4295, allocations: 22.34 MB / 1.242 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001542/0.4297, allocations: 0 / 1.242 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002278/0.4299, allocations: 47.69 kB / 1.242 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002637/0.4302, allocations: 95.36 kB / 1.242 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01465/0.4449, allocations: 6.67 MB / 1.249 GB, free: 12.09 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003416/0.4452, allocations: 251.9 kB / 1.249 GB, free: 11.85 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.269e-05/0.4453, allocations: 9.562 kB / 1.249 GB, free: 11.84 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002776/0.4455, allocations: 139.4 kB / 1.249 GB, free: 11.7 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001248/0.4457, allocations: 87.66 kB / 1.249 GB, free: 11.62 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.139e-05/0.4457, allocations: 8 kB / 1.249 GB, free: 11.61 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01756/0.4633, allocations: 10.97 MB / 1.26 GB, free: 0.625 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 9.52e-05/0.4634, allocations: 35.83 kB / 1.26 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001313/0.4635, allocations: 87.64 kB / 1.26 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.5724/1.036, allocations: 6.135 MB / 1.266 GB, free: 12.72 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.927e-06/1.036, allocations: 1.359 kB / 1.266 GB, free: 12.72 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.783e-06/1.036, allocations: 0 / 1.266 GB, free: 12.72 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.453e-05/1.036, allocations: 0 / 1.266 GB, free: 12.72 MB / 1.014 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.007057/1.043, allocations: 1.197 MB / 1.267 GB, free: 11.99 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/1.043, allocations: 9.969 kB / 1.267 GB, free: 11.99 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.286e-05/1.043, allocations: 52.08 kB / 1.267 GB, free: 11.95 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001342/1.045, allocations: 83.11 kB / 1.267 GB, free: 11.95 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003446/1.045, allocations: 224.7 kB / 1.268 GB, free: 11.75 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/1.045, allocations: 10.19 kB / 1.268 GB, free: 11.75 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.326e-05/1.045, allocations: 21.62 kB / 1.268 GB, free: 11.74 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001192/1.046, allocations: 448.8 kB / 1.268 GB, free: 11.68 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/1.046, allocations: 0.6875 kB / 1.268 GB, free: 11.68 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.873e-05/1.046, allocations: 10.97 kB / 1.268 GB, free: 11.68 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/1.046, allocations: 7.938 kB / 1.268 GB, free: 11.68 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001314/1.048, allocations: 0.5961 MB / 1.269 GB, free: 11.68 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/1.049, allocations: 0.8787 MB / 1.27 GB, free: 11.02 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008696/1.05, allocations: 254 kB / 1.27 GB, free: 10.99 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001418/1.05, allocations: 78.22 kB / 1.27 GB, free: 10.98 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09524/1.145, allocations: 35.43 MB / 1.305 GB, free: 9.91 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.821e-05/1.145, allocations: 38.78 kB / 1.305 GB, free: 9.867 MB / 1.029 GB Notification: Performance of pre-optimization done (n=25): time 3.326e-06/1.145, allocations: 1.625 kB / 1.305 GB, free: 9.867 MB / 1.029 GB Notification: Performance of matching and sorting (n=25): time 0.001706/1.147, allocations: 425.7 kB / 1.305 GB, free: 9.82 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/1.147, allocations: 54.06 kB / 1.305 GB, free: 9.758 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/1.147, allocations: 137 kB / 1.305 GB, free: 9.66 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.285e-05/1.147, allocations: 31.73 kB / 1.305 GB, free: 9.629 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.487e-05/1.147, allocations: 106.6 kB / 1.305 GB, free: 9.535 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.421e-05/1.147, allocations: 86.91 kB / 1.305 GB, free: 9.48 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/1.147, allocations: 86.33 kB / 1.305 GB, free: 9.457 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 9.026e-05/1.147, allocations: 325.3 kB / 1.306 GB, free: 9.141 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001792/1.148, allocations: 83.52 kB / 1.306 GB, free: 9.141 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000223/1.148, allocations: 132.1 kB / 1.306 GB, free: 9.094 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003688/1.148, allocations: 217.8 kB / 1.306 GB, free: 9.043 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/1.148, allocations: 0 / 1.306 GB, free: 9.043 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000667/1.149, allocations: 298 kB / 1.306 GB, free: 9.004 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/1.149, allocations: 9.688 kB / 1.306 GB, free: 9 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/1.149, allocations: 1.125 kB / 1.306 GB, free: 9 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/1.149, allocations: 3.344 kB / 1.306 GB, free: 9 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002868/1.149, allocations: 77.78 kB / 1.307 GB, free: 9 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/1.149, allocations: 6.953 kB / 1.307 GB, free: 9 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001684/1.149, allocations: 25.62 kB / 1.307 GB, free: 8.984 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.455e-05/1.149, allocations: 29.48 kB / 1.307 GB, free: 8.98 MB / 1.029 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.0001376/1.15, allocations: 134.2 kB / 1.307 GB, free: 8.867 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001763/1.15, allocations: 18.38 kB / 1.307 GB, free: 8.859 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002093/1.152, allocations: 2.342 MB / 1.309 GB, free: 8.734 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/1.152, allocations: 10.94 kB / 1.309 GB, free: 8.734 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/1.152, allocations: 6.344 kB / 1.309 GB, free: 8.734 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/1.152, allocations: 5.516 kB / 1.309 GB, free: 8.734 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00256/1.154, allocations: 3.423 MB / 1.312 GB, free: 8.195 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/1.154, allocations: 0 / 1.312 GB, free: 8.195 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002405/1.155, allocations: 59.17 kB / 1.312 GB, free: 8.195 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/1.155, allocations: 0 / 1.312 GB, free: 8.195 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.143e-05/1.155, allocations: 16.94 kB / 1.312 GB, free: 8.188 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/1.155, allocations: 2.656 kB / 1.312 GB, free: 8.188 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/1.155, allocations: 0 / 1.312 GB, free: 8.188 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006834/1.155, allocations: 0.544 MB / 1.313 GB, free: 8.023 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/1.156, allocations: 142.2 kB / 1.313 GB, free: 7.906 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.477e-05/1.156, allocations: 10.22 kB / 1.313 GB, free: 7.902 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002076/1.156, allocations: 8.5 kB / 1.313 GB, free: 7.902 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.259e-05/1.156, allocations: 24.33 kB / 1.313 GB, free: 7.898 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.649e-05/1.156, allocations: 11.31 kB / 1.313 GB, free: 7.898 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.725e-05/1.156, allocations: 110.5 kB / 1.313 GB, free: 7.824 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/1.156, allocations: 0 / 1.313 GB, free: 7.824 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00695/1.163, allocations: 1.62 MB / 1.315 GB, free: 7.621 MB / 1.029 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.01062/1.174, allocations: 2.883 MB / 1.318 GB, free: 6.648 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004756/1.174, allocations: 328.5 kB / 1.318 GB, free: 6.637 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/1.174, allocations: 4 kB / 1.318 GB, free: 6.633 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002391/1.174, allocations: 243.4 kB / 1.318 GB, free: 6.629 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004877/1.175, allocations: 63.12 kB / 1.318 GB, free: 6.617 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004506/1.179, allocations: 3.044 MB / 1.321 GB, free: 5.031 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002301/1.18, allocations: 0.7721 MB / 1.322 GB, free: 4.332 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003916/1.18, allocations: 404.8 kB / 1.322 GB, free: 4.301 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/1.18, allocations: 100.2 kB / 1.323 GB, free: 4.293 MB / 1.029 GB Notification: Performance of SimCode: time 2.1e-07/1.18, allocations: 0 / 1.323 GB, free: 4.293 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5167/1.697, allocations: 60.85 MB / 1.382 GB, free: 14.46 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.35/14.05, allocations: 11.5 kB / 1.382 GB, free: 14.45 MB / 1.076 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