Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamProperties,fileNamePrefix="Buildings_latest_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.00516/0.00516, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001416/0.001416, allocations: 199 kB / 16.68 MB, free: 5.969 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.271/1.271, allocations: 222.9 MB / 240.4 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.577/2.577, allocations: 482.6 MB / 0.755 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001698/0.001698, allocations: 67.84 kB / 1.083 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2552, allocations: 162.3 MB / 1.242 GB, free: 9.82 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.5856/0.8408, allocations: 136.1 MB / 1.375 GB, free: 0.5625 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02392/0.8648, allocations: 22.68 MB / 1.397 GB, free: 15.67 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001117/0.8649, allocations: 1.344 kB / 1.397 GB, free: 15.67 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0002332/0.8652, allocations: 46.77 kB / 1.397 GB, free: 15.63 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0002572/0.8655, allocations: 101.5 kB / 1.397 GB, free: 15.54 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.01431/0.8798, allocations: 6.934 MB / 1.404 GB, free: 10.86 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.000306/0.8801, allocations: 252.9 kB / 1.404 GB, free: 10.72 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 4.07e-05/0.8802, allocations: 13.36 kB / 1.404 GB, free: 10.71 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002729/0.8804, allocations: 145.5 kB / 1.404 GB, free: 10.63 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001295/0.8806, allocations: 85.36 kB / 1.404 GB, free: 10.58 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 2.29e-05/0.8806, allocations: 8.125 kB / 1.404 GB, free: 10.58 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01759/0.8982, allocations: 11.65 MB / 1.416 GB, free: 4.453 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 7.143e-05/0.8983, allocations: 36.22 kB / 1.416 GB, free: 4.426 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 9.462e-05/0.8984, allocations: 80.17 kB / 1.416 GB, free: 4.383 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.008497/0.9069, allocations: 6.49 MB / 1.422 GB, free: 14.66 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.9069, allocations: 0 / 1.422 GB, free: 14.66 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.483e-06/0.9069, allocations: 0 / 1.422 GB, free: 14.66 MB / 1.123 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.9069, allocations: 0 / 1.422 GB, free: 14.66 MB / 1.123 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.002203/0.9091, allocations: 1.242 MB / 1.423 GB, free: 13.36 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.9092, allocations: 8.031 kB / 1.423 GB, free: 13.35 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.851e-05/0.9092, allocations: 54.73 kB / 1.423 GB, free: 13.29 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009177/0.9101, allocations: 84.75 kB / 1.423 GB, free: 13.21 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002715/0.9104, allocations: 232.3 kB / 1.424 GB, free: 12.94 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.9104, allocations: 11.94 kB / 1.424 GB, free: 12.93 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.43e-05/0.9105, allocations: 16 kB / 1.424 GB, free: 12.91 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009891/0.9115, allocations: 458.2 kB / 1.424 GB, free: 12.45 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.9115, allocations: 0 / 1.424 GB, free: 12.45 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.16e-05/0.9115, allocations: 11.94 kB / 1.424 GB, free: 12.44 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.9115, allocations: 5.875 kB / 1.424 GB, free: 12.43 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001083/0.9126, allocations: 0.597 MB / 1.425 GB, free: 11.84 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009342/0.9136, allocations: 0.8784 MB / 1.426 GB, free: 10.87 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007306/0.9143, allocations: 260.2 kB / 1.426 GB, free: 10.61 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.9144, allocations: 76.83 kB / 1.426 GB, free: 10.53 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08033/0.9948, allocations: 35.42 MB / 1.461 GB, free: 4.012 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.9948, allocations: 38.56 kB / 1.461 GB, free: 3.965 MB / 1.154 GB Notification: Performance of pre-optimization done (n=25): time 1.403e-06/0.9948, allocations: 0 / 1.461 GB, free: 3.965 MB / 1.154 GB Notification: Performance of matching and sorting (n=25): time 0.00152/0.9963, allocations: 423.5 kB / 1.461 GB, free: 3.547 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.207e-05/0.9964, allocations: 55.41 kB / 1.461 GB, free: 3.48 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.9965, allocations: 140.8 kB / 1.461 GB, free: 3.336 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/0.9965, allocations: 29.7 kB / 1.461 GB, free: 3.301 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 6.267e-05/0.9966, allocations: 112.5 kB / 1.461 GB, free: 3.188 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 6.807e-05/0.9967, allocations: 87.22 kB / 1.461 GB, free: 3.102 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.9968, allocations: 77.66 kB / 1.461 GB, free: 3.02 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.9969, allocations: 330.8 kB / 1.462 GB, free: 2.688 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001623/0.9971, allocations: 75.95 kB / 1.462 GB, free: 2.613 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002176/0.9973, allocations: 133.1 kB / 1.462 GB, free: 2.465 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004137/0.9977, allocations: 225.1 kB / 1.462 GB, free: 2.227 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.9977, allocations: 0 / 1.462 GB, free: 2.227 MB / 1.154 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006991/0.9984, allocations: 293.3 kB / 1.462 GB, free: 1.934 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.9985, allocations: 8 kB / 1.462 GB, free: 1.926 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.9985, allocations: 0 / 1.462 GB, free: 1.926 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.9985, allocations: 7.984 kB / 1.462 GB, free: 1.918 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002572/0.9988, allocations: 75.89 kB / 1.463 GB, free: 1.844 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.288e-06/0.9988, allocations: 7.984 kB / 1.463 GB, free: 1.836 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001206/0.9989, allocations: 27.94 kB / 1.463 GB, free: 1.809 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.525e-05/0.999, allocations: 26.48 kB / 1.463 GB, free: 1.785 MB / 1.154 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.0001159/0.9991, allocations: 125.8 kB / 1.463 GB, free: 1.652 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000164/0.9992, allocations: 19.89 kB / 1.463 GB, free: 1.633 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002283/1.002, allocations: 2.346 MB / 1.465 GB, free: 15.27 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.705e-05/1.002, allocations: 11.98 kB / 1.465 GB, free: 15.26 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/1.002, allocations: 0 / 1.465 GB, free: 15.26 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.333e-06/1.002, allocations: 7.922 kB / 1.465 GB, free: 15.25 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003113/1.005, allocations: 3.427 MB / 1.468 GB, free: 11.71 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/1.005, allocations: 0 / 1.468 GB, free: 11.71 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002332/1.005, allocations: 59.89 kB / 1.468 GB, free: 11.66 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/1.005, allocations: 0 / 1.468 GB, free: 11.66 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.222e-05/1.005, allocations: 15.92 kB / 1.468 GB, free: 11.64 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/1.005, allocations: 0 / 1.468 GB, free: 11.64 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/1.005, allocations: 0 / 1.468 GB, free: 11.64 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000708/1.006, allocations: 0.5428 MB / 1.469 GB, free: 11.08 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/1.006, allocations: 144.7 kB / 1.469 GB, free: 10.92 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.113e-05/1.006, allocations: 11.94 kB / 1.469 GB, free: 10.91 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001957/1.006, allocations: 11.98 kB / 1.469 GB, free: 10.9 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.886e-05/1.006, allocations: 19.92 kB / 1.469 GB, free: 10.88 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.636e-05/1.006, allocations: 15.98 kB / 1.469 GB, free: 10.86 MB / 1.17 GB Notification: Performance of sorting global known variables: time 6.856e-05/1.006, allocations: 109.7 kB / 1.469 GB, free: 10.76 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.1e-07/1.006, allocations: 0 / 1.469 GB, free: 10.76 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.003104/1.009, allocations: 1.707 MB / 1.471 GB, free: 9.047 MB / 1.17 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.006413/1.016, allocations: 2.958 MB / 1.474 GB, free: 6.062 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0005185/1.016, allocations: 320.3 kB / 1.474 GB, free: 5.75 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/1.016, allocations: 0 / 1.474 GB, free: 5.75 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0002852/1.017, allocations: 245.2 kB / 1.474 GB, free: 5.512 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004417/1.017, allocations: 68.19 kB / 1.474 GB, free: 5.445 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00405/1.021, allocations: 3.083 MB / 1.477 GB, free: 2.242 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/1.021, allocations: 0.7661 MB / 1.478 GB, free: 1.453 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0004889/1.022, allocations: 401.2 kB / 1.479 GB, free: 1.059 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001698/1.022, allocations: 107.3 kB / 1.479 GB, free: 0.957 MB / 1.17 GB Notification: Performance of SimCode: time 2.2e-07/1.022, allocations: 0 / 1.479 GB, free: 0.957 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.573/4.596, allocations: 63.15 MB / 1.54 GB, free: 1.824 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.39/29.98, allocations: 0 / 1.54 GB, free: 1.824 MB / 1.232 GB (rm -f Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.SteamProperties_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_SteamProperties_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_SteamProperties.fmu > Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_SteamProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.SteamProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches