Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamProperties,fileNamePrefix="Buildings_11_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.006192/0.006192, allocations: 98.48 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.00172/0.00172, allocations: 194.5 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.3/1.3, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.536/2.536, allocations: 469.8 MB / 0.7425 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002044/0.002044, allocations: 67.88 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.2564, allocations: 159.1 MB / 1.22 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.605/0.8615, allocations: 136.1 MB / 1.353 GB, free: 9.379 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02433/0.8859, allocations: 22.68 MB / 1.375 GB, free: 9.938 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.886, allocations: 1.188 kB / 1.375 GB, free: 9.938 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0002254/0.8862, allocations: 46.05 kB / 1.375 GB, free: 9.898 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0002481/0.8865, allocations: 90.86 kB / 1.375 GB, free: 9.824 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.01521/0.9018, allocations: 6.939 MB / 1.382 GB, free: 5.133 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003089/0.9021, allocations: 245.5 kB / 1.382 GB, free: 5 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 3.993e-05/0.9021, allocations: 17.19 kB / 1.382 GB, free: 4.992 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002646/0.9024, allocations: 146.1 kB / 1.383 GB, free: 4.91 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001286/0.9025, allocations: 93.81 kB / 1.383 GB, free: 4.855 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.207e-05/0.9026, allocations: 7.719 kB / 1.383 GB, free: 4.855 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01852/0.9211, allocations: 11.65 MB / 1.394 GB, free: 14.73 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 8.365e-05/0.9212, allocations: 38.36 kB / 1.394 GB, free: 14.7 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0001224/0.9213, allocations: 80.62 kB / 1.394 GB, free: 14.66 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.009319/0.9306, allocations: 6.486 MB / 1.4 GB, free: 10.52 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.9307, allocations: 0 / 1.4 GB, free: 10.52 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.393e-06/0.9307, allocations: 0 / 1.4 GB, free: 10.52 MB / 1.092 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.9307, allocations: 4 kB / 1.4 GB, free: 10.52 MB / 1.092 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.00237/0.9331, allocations: 1.244 MB / 1.402 GB, free: 9.59 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.9331, allocations: 9.469 kB / 1.402 GB, free: 9.59 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.077e-05/0.9331, allocations: 52.77 kB / 1.402 GB, free: 9.535 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009216/0.9341, allocations: 83.23 kB / 1.402 GB, free: 9.504 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002649/0.9343, allocations: 229.5 kB / 1.402 GB, free: 9.254 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.9344, allocations: 13.47 kB / 1.402 GB, free: 9.246 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.391e-05/0.9344, allocations: 17.28 kB / 1.402 GB, free: 9.238 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009738/0.9354, allocations: 454.8 kB / 1.402 GB, free: 8.949 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.9354, allocations: 2.094 kB / 1.402 GB, free: 8.949 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.296e-05/0.9354, allocations: 10.31 kB / 1.402 GB, free: 8.941 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.9354, allocations: 7.734 kB / 1.403 GB, free: 8.938 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/0.9365, allocations: 0.5965 MB / 1.403 GB, free: 8.648 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009231/0.9374, allocations: 0.882 MB / 1.404 GB, free: 7.793 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007/0.9381, allocations: 248.8 kB / 1.404 GB, free: 7.66 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.81e-05/0.9382, allocations: 72.95 kB / 1.404 GB, free: 7.625 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08234/1.021, allocations: 35.43 MB / 1.439 GB, free: 2.352 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/1.021, allocations: 34.56 kB / 1.439 GB, free: 2.309 MB / 1.123 GB Notification: Performance of pre-optimization done (n=25): time 1.563e-06/1.021, allocations: 3.938 kB / 1.439 GB, free: 2.305 MB / 1.123 GB Notification: Performance of matching and sorting (n=25): time 0.00155/1.022, allocations: 418.9 kB / 1.439 GB, free: 1.891 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/1.022, allocations: 59.41 kB / 1.439 GB, free: 1.82 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/1.022, allocations: 139.5 kB / 1.439 GB, free: 1.676 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 3.227e-05/1.022, allocations: 37.7 kB / 1.44 GB, free: 1.633 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 6.447e-05/1.022, allocations: 108.5 kB / 1.44 GB, free: 1.523 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 7.039e-05/1.023, allocations: 87.22 kB / 1.44 GB, free: 1.438 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/1.023, allocations: 77.67 kB / 1.44 GB, free: 1.355 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.000125/1.023, allocations: 326.8 kB / 1.44 GB, free: 1.027 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/1.023, allocations: 87.88 kB / 1.44 GB, free: 0.9414 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002227/1.023, allocations: 135.1 kB / 1.44 GB, free: 0.793 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004306/1.024, allocations: 214.7 kB / 1.441 GB, free: 0.5664 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/1.024, allocations: 0 / 1.441 GB, free: 0.5664 MB / 1.123 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006985/1.024, allocations: 304.6 kB / 1.441 GB, free: 272 kB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/1.024, allocations: 8 kB / 1.441 GB, free: 264 kB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/1.024, allocations: 0 / 1.441 GB, free: 264 kB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/1.024, allocations: 4 kB / 1.441 GB, free: 260 kB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002654/1.025, allocations: 83.88 kB / 1.441 GB, free: 176 kB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/1.025, allocations: 0 / 1.441 GB, free: 176 kB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/1.025, allocations: 29.09 kB / 1.441 GB, free: 148 kB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.324e-05/1.025, allocations: 23.97 kB / 1.441 GB, free: 124 kB / 1.123 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.0001366/1.025, allocations: 134 kB / 1.441 GB, free: 15.98 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001642/1.025, allocations: 15.91 kB / 1.441 GB, free: 15.96 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002326/1.027, allocations: 2.346 MB / 1.443 GB, free: 13.61 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/1.028, allocations: 7.984 kB / 1.443 GB, free: 13.6 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/1.028, allocations: 0 / 1.443 GB, free: 13.6 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.136e-06/1.028, allocations: 7.938 kB / 1.443 GB, free: 13.59 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003139/1.031, allocations: 3.423 MB / 1.447 GB, free: 10.05 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/1.031, allocations: 7.938 kB / 1.447 GB, free: 10.05 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002328/1.031, allocations: 55.94 kB / 1.447 GB, free: 9.992 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/1.031, allocations: 0 / 1.447 GB, free: 9.992 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.138e-05/1.031, allocations: 12.88 kB / 1.447 GB, free: 9.98 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/1.031, allocations: 0 / 1.447 GB, free: 9.98 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/1.031, allocations: 0 / 1.447 GB, free: 9.98 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007813/1.032, allocations: 0.5513 MB / 1.447 GB, free: 9.414 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/1.032, allocations: 144.6 kB / 1.447 GB, free: 9.254 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.139e-05/1.032, allocations: 7.938 kB / 1.447 GB, free: 9.246 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001991/1.032, allocations: 19.98 kB / 1.448 GB, free: 9.227 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.112e-05/1.032, allocations: 17.84 kB / 1.448 GB, free: 9.211 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-05/1.032, allocations: 12 kB / 1.448 GB, free: 9.199 MB / 1.139 GB Notification: Performance of sorting global known variables: time 7.355e-05/1.032, allocations: 109.8 kB / 1.448 GB, free: 9.094 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.1e-07/1.032, allocations: 0 / 1.448 GB, free: 9.094 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.003977/1.036, allocations: 1.707 MB / 1.449 GB, free: 7.383 MB / 1.139 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.006869/1.043, allocations: 2.948 MB / 1.452 GB, free: 4.406 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0005564/1.044, allocations: 325.3 kB / 1.452 GB, free: 4.09 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/1.044, allocations: 0 / 1.452 GB, free: 4.09 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0002974/1.044, allocations: 236.5 kB / 1.453 GB, free: 3.859 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004655/1.045, allocations: 78.72 kB / 1.453 GB, free: 3.785 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004244/1.049, allocations: 3.078 MB / 1.456 GB, free: 0.5938 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/1.049, allocations: 0.7661 MB / 1.457 GB, free: 15.8 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0005122/1.05, allocations: 417.1 kB / 1.457 GB, free: 15.39 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001762/1.05, allocations: 99.39 kB / 1.457 GB, free: 15.29 MB / 1.154 GB Notification: Performance of SimCode: time 2.3e-07/1.05, allocations: 0 / 1.457 GB, free: 15.29 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.436/3.486, allocations: 63.14 MB / 1.519 GB, free: 168 kB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.03/21.52, allocations: 21.05 kB / 1.519 GB, free: 152 kB / 1.201 GB (rm -f Buildings_11_Buildings.Media.Examples.SteamProperties.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.SteamProperties.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.SteamProperties.pipe >> ../files/Buildings_11_Buildings.Media.Examples.SteamProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Examples.SteamProperties_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Examples_SteamProperties_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Media_Examples_SteamProperties.fmu > Buildings_11_Buildings.Media.Examples.SteamProperties.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Examples.SteamProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_SteamProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.SteamProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches