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.007801/0.007801, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001811/0.001812, allocations: 195.6 kB / 16.67 MB, free: 5.52 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.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.222/2.222, allocations: 390.3 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 59.91 kB / 0.9504 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8068/0.8083, allocations: 140.4 MB / 1.087 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1616/0.9699, allocations: 136.1 MB / 1.22 GB, free: 60 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02923/0.9992, allocations: 22.33 MB / 1.242 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001666/0.9994, allocations: 1.375 kB / 1.242 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002909/0.9997, allocations: 42.56 kB / 1.242 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003547/1, allocations: 98.47 kB / 1.242 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.01905/1.019, allocations: 6.673 MB / 1.249 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005032/1.02, allocations: 247.9 kB / 1.249 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 6.398e-05/1.02, allocations: 13.55 kB / 1.249 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004023/1.02, allocations: 143.5 kB / 1.249 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001995/1.02, allocations: 91.59 kB / 1.249 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.078e-05/1.02, allocations: 8 kB / 1.249 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02414/1.045, allocations: 10.96 MB / 1.26 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001502/1.045, allocations: 35.89 kB / 1.26 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002074/1.045, allocations: 83.64 kB / 1.26 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01819/1.063, allocations: 6.152 MB / 1.266 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/1.063, allocations: 0 / 1.266 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of FrontEnd: time 6.743e-06/1.063, allocations: 4 kB / 1.266 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.995e-06/1.063, allocations: 3.938 kB / 1.266 GB, free: 6.801 MB / 0.9981 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.003425/1.067, allocations: 1.178 MB / 1.267 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/1.067, allocations: 15.97 kB / 1.267 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.854e-05/1.067, allocations: 46.73 kB / 1.267 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001198/1.068, allocations: 88.66 kB / 1.267 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003646/1.068, allocations: 236 kB / 1.268 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/1.068, allocations: 15.94 kB / 1.268 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.001e-05/1.068, allocations: 16 kB / 1.268 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001157/1.07, allocations: 452.5 kB / 1.268 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/1.07, allocations: 3.984 kB / 1.268 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.725e-05/1.07, allocations: 4 kB / 1.268 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/1.07, allocations: 7.938 kB / 1.268 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001182/1.071, allocations: 0.597 MB / 1.269 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001017/1.072, allocations: 0.8784 MB / 1.27 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008159/1.073, allocations: 258 kB / 1.27 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/1.073, allocations: 80.83 kB / 1.27 GB, free: 2.734 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09211/1.165, allocations: 35.42 MB / 1.305 GB, free: 12.22 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.838e-05/1.165, allocations: 38.56 kB / 1.305 GB, free: 12.18 MB / 1.045 GB Notification: Performance of pre-optimization done (n=25): time 1.683e-06/1.165, allocations: 3.938 kB / 1.305 GB, free: 12.17 MB / 1.045 GB Notification: Performance of matching and sorting (n=25): time 0.001728/1.167, allocations: 422.1 kB / 1.305 GB, free: 11.75 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/1.167, allocations: 55.41 kB / 1.305 GB, free: 11.69 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/1.167, allocations: 141.8 kB / 1.305 GB, free: 11.54 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.232e-05/1.167, allocations: 29.7 kB / 1.305 GB, free: 11.5 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.697e-05/1.167, allocations: 116.3 kB / 1.305 GB, free: 11.38 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 7.3e-05/1.167, allocations: 86.73 kB / 1.305 GB, free: 11.3 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/1.167, allocations: 77.66 kB / 1.305 GB, free: 11.21 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 9.835e-05/1.167, allocations: 322.8 kB / 1.306 GB, free: 10.89 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/1.168, allocations: 79.95 kB / 1.306 GB, free: 10.81 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002199/1.168, allocations: 130.6 kB / 1.306 GB, free: 10.67 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004084/1.168, allocations: 223.2 kB / 1.306 GB, free: 10.43 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/1.168, allocations: 4 kB / 1.306 GB, free: 10.43 MB / 1.045 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006762/1.169, allocations: 295 kB / 1.306 GB, free: 10.14 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/1.169, allocations: 4 kB / 1.306 GB, free: 10.13 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/1.169, allocations: 4 kB / 1.306 GB, free: 10.13 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/1.169, allocations: 3.984 kB / 1.306 GB, free: 10.12 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002853/1.169, allocations: 75.89 kB / 1.307 GB, free: 10.05 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/1.169, allocations: 7.984 kB / 1.307 GB, free: 10.04 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001453/1.169, allocations: 23.78 kB / 1.307 GB, free: 10.02 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-05/1.169, allocations: 28.14 kB / 1.307 GB, free: 9.992 MB / 1.045 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.000144/1.17, allocations: 125.8 kB / 1.307 GB, free: 9.859 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001694/1.17, allocations: 15.81 kB / 1.307 GB, free: 9.844 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002188/1.172, allocations: 2.338 MB / 1.309 GB, free: 7.492 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.767e-05/1.172, allocations: 11.98 kB / 1.309 GB, free: 7.48 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/1.172, allocations: 0 / 1.309 GB, free: 7.48 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/1.172, allocations: 7.922 kB / 1.309 GB, free: 7.473 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002997/1.175, allocations: 3.439 MB / 1.312 GB, free: 3.934 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/1.175, allocations: 0 / 1.312 GB, free: 3.934 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002574/1.175, allocations: 55.89 kB / 1.312 GB, free: 3.879 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.353e-06/1.175, allocations: 7.938 kB / 1.312 GB, free: 3.871 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/1.175, allocations: 7.984 kB / 1.312 GB, free: 3.863 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/1.175, allocations: 4 kB / 1.312 GB, free: 3.859 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/1.175, allocations: 0 / 1.312 GB, free: 3.859 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007314/1.176, allocations: 0.5349 MB / 1.313 GB, free: 3.301 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001255/1.176, allocations: 152.4 kB / 1.313 GB, free: 3.133 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.346e-05/1.176, allocations: 7.938 kB / 1.313 GB, free: 3.125 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002136/1.177, allocations: 15.98 kB / 1.313 GB, free: 3.109 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.714e-05/1.177, allocations: 15.98 kB / 1.313 GB, free: 3.094 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.022e-05/1.177, allocations: 19.98 kB / 1.313 GB, free: 3.074 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.926e-05/1.177, allocations: 105.9 kB / 1.313 GB, free: 2.973 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.11e-07/1.177, allocations: 0 / 1.313 GB, free: 2.973 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.003975/1.181, allocations: 1.624 MB / 1.315 GB, free: 1.348 MB / 1.045 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.009093/1.19, allocations: 2.89 MB / 1.318 GB, free: 14.43 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006795/1.19, allocations: 318.4 kB / 1.318 GB, free: 14.12 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/1.191, allocations: 0 / 1.318 GB, free: 14.12 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003212/1.191, allocations: 248.7 kB / 1.318 GB, free: 13.88 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006098/1.191, allocations: 64.19 kB / 1.318 GB, free: 13.82 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005642/1.197, allocations: 3.057 MB / 1.321 GB, free: 10.64 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004747/1.198, allocations: 0.7661 MB / 1.322 GB, free: 9.855 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0005266/1.198, allocations: 409.1 kB / 1.322 GB, free: 9.453 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001974/1.198, allocations: 95.39 kB / 1.323 GB, free: 9.359 MB / 1.061 GB Notification: Performance of SimCode: time 6.51e-07/1.198, allocations: 0 / 1.323 GB, free: 9.359 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1088/1.307, allocations: 60.77 MB / 1.382 GB, free: 12.61 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.97, allocations: 1.75 kB / 1.382 GB, free: 12.61 MB / 1.123 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Media.Examples.SteamProperties_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Media_Examples_SteamProperties.fmu > Buildings_9_Buildings.Media.Examples.SteamProperties.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.SteamProperties_res.csv","/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