Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamProperties,fileNamePrefix="Buildings_10_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.006508/0.006508, allocations: 98.8 kB / 15.73 MB, free: 6.039 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.001741/0.001741, allocations: 195.2 kB / 16.68 MB, free: 5.961 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.302/1.302, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.372/2.372, allocations: 437.1 MB / 0.7106 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001687/0.001687, allocations: 75.88 kB / 1.018 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2377/0.2394, allocations: 151.6 MB / 1.166 GB, free: 7.23 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.5819/0.8213, allocations: 136.1 MB / 1.299 GB, free: 13.77 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0208/0.8422, allocations: 22.67 MB / 1.321 GB, free: 10.82 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000153/0.8424, allocations: 1.125 kB / 1.321 GB, free: 10.82 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002392/0.8426, allocations: 45.31 kB / 1.321 GB, free: 10.79 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000319/0.843, allocations: 100.9 kB / 1.321 GB, free: 10.73 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.01699/0.86, allocations: 6.941 MB / 1.328 GB, free: 8.109 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000361/0.8603, allocations: 251.3 kB / 1.328 GB, free: 8 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.874e-05/0.8604, allocations: 9.094 kB / 1.328 GB, free: 8 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000281/0.8607, allocations: 143.6 kB / 1.329 GB, free: 7.941 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001326/0.8608, allocations: 86.02 kB / 1.329 GB, free: 7.906 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.452e-05/0.8608, allocations: 8.562 kB / 1.329 GB, free: 7.906 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02014/0.881, allocations: 11.66 MB / 1.34 GB, free: 3.676 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 9.149e-05/0.8811, allocations: 33.7 kB / 1.34 GB, free: 3.652 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001432/0.8813, allocations: 81.22 kB / 1.34 GB, free: 3.609 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01213/0.8934, allocations: 6.492 MB / 1.346 GB, free: 15.46 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.706e-06/0.8934, allocations: 1.375 kB / 1.346 GB, free: 15.46 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.172e-06/0.8934, allocations: 0 / 1.346 GB, free: 15.46 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.8934, allocations: 0 / 1.346 GB, free: 15.46 MB / 1.029 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.00259/0.896, allocations: 1.236 MB / 1.348 GB, free: 14.54 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.8961, allocations: 9.719 kB / 1.348 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5e-05/0.8961, allocations: 53.27 kB / 1.348 GB, free: 14.49 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009235/0.8971, allocations: 84.47 kB / 1.348 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000276/0.8973, allocations: 231.2 kB / 1.348 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.8974, allocations: 25.55 kB / 1.348 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.286e-05/0.8974, allocations: 17.16 kB / 1.348 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009964/0.8984, allocations: 451.2 kB / 1.349 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.8984, allocations: 0 / 1.349 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.164e-05/0.8984, allocations: 6.938 kB / 1.349 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.8985, allocations: 4.469 kB / 1.349 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/0.8996, allocations: 0.5986 MB / 1.349 GB, free: 13.6 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009486/0.9005, allocations: 0.8813 MB / 1.35 GB, free: 12.74 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007/0.9012, allocations: 258.1 kB / 1.35 GB, free: 12.6 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.9013, allocations: 72.14 kB / 1.35 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07851/0.9799, allocations: 35.42 MB / 1.385 GB, free: 1.629 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.9799, allocations: 42.44 kB / 1.385 GB, free: 1.578 MB / 1.045 GB Notification: Performance of pre-optimization done (n=25): time 1.613e-06/0.9799, allocations: 0 / 1.385 GB, free: 1.578 MB / 1.045 GB Notification: Performance of matching and sorting (n=25): time 0.001554/0.9815, allocations: 420.3 kB / 1.385 GB, free: 1.164 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.9815, allocations: 63.34 kB / 1.385 GB, free: 1.09 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.9816, allocations: 140.2 kB / 1.386 GB, free: 0.9453 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.284e-05/0.9817, allocations: 33.7 kB / 1.386 GB, free: 0.9062 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.771e-05/0.9818, allocations: 112.5 kB / 1.386 GB, free: 0.7891 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.708e-05/0.9818, allocations: 83.22 kB / 1.386 GB, free: 0.707 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/0.982, allocations: 81.66 kB / 1.386 GB, free: 0.6211 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.9821, allocations: 330.8 kB / 1.386 GB, free: 296 kB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001616/0.9822, allocations: 75.95 kB / 1.386 GB, free: 220 kB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002277/0.9825, allocations: 142 kB / 1.386 GB, free: 60 kB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004371/0.9829, allocations: 222.9 kB / 1.387 GB, free: 15.82 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.9829, allocations: 0 / 1.387 GB, free: 15.82 MB / 1.061 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007056/0.9836, allocations: 298.8 kB / 1.387 GB, free: 15.53 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.9837, allocations: 8 kB / 1.387 GB, free: 15.52 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.9837, allocations: 0 / 1.387 GB, free: 15.52 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.9837, allocations: 4 kB / 1.387 GB, free: 15.52 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002591/0.984, allocations: 79.88 kB / 1.387 GB, free: 15.44 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.984, allocations: 4 kB / 1.387 GB, free: 15.43 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000131/0.9841, allocations: 27.94 kB / 1.387 GB, free: 15.41 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-05/0.9842, allocations: 19.98 kB / 1.387 GB, free: 15.39 MB / 1.061 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.0001231/0.9843, allocations: 133.8 kB / 1.387 GB, free: 15.25 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001654/0.9845, allocations: 19.91 kB / 1.387 GB, free: 15.23 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002476/0.9869, allocations: 2.338 MB / 1.389 GB, free: 12.88 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.688e-05/0.987, allocations: 19.92 kB / 1.389 GB, free: 12.86 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.987, allocations: 0 / 1.389 GB, free: 12.86 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.987, allocations: 3.938 kB / 1.389 GB, free: 12.86 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003219/0.9902, allocations: 3.419 MB / 1.393 GB, free: 9.324 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.9902, allocations: 0.875 kB / 1.393 GB, free: 9.324 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002299/0.9905, allocations: 55.89 kB / 1.393 GB, free: 9.27 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.9905, allocations: 0 / 1.393 GB, free: 9.27 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.326e-05/0.9905, allocations: 15.92 kB / 1.393 GB, free: 9.254 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.9905, allocations: 0 / 1.393 GB, free: 9.254 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.9905, allocations: 0.8125 kB / 1.393 GB, free: 9.254 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007379/0.9913, allocations: 0.5545 MB / 1.393 GB, free: 8.684 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001276/0.9914, allocations: 144.7 kB / 1.394 GB, free: 8.523 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.406e-05/0.9914, allocations: 7.938 kB / 1.394 GB, free: 8.516 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001887/0.9916, allocations: 19.92 kB / 1.394 GB, free: 8.496 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.9917, allocations: 15.98 kB / 1.394 GB, free: 8.48 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.731e-05/0.9917, allocations: 11.98 kB / 1.394 GB, free: 8.469 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.118e-05/0.9918, allocations: 105.5 kB / 1.394 GB, free: 8.367 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9918, allocations: 0 / 1.394 GB, free: 8.367 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.004656/0.9964, allocations: 1.711 MB / 1.395 GB, free: 6.652 MB / 1.061 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.007016/1.003, allocations: 2.951 MB / 1.398 GB, free: 3.668 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005457/1.004, allocations: 332.2 kB / 1.399 GB, free: 3.348 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/1.004, allocations: 0 / 1.399 GB, free: 3.348 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002907/1.004, allocations: 237.2 kB / 1.399 GB, free: 3.117 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004506/1.005, allocations: 64.2 kB / 1.399 GB, free: 3.055 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004258/1.009, allocations: 3.086 MB / 1.402 GB, free: 15.86 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003311/1.009, allocations: 0.7622 MB / 1.403 GB, free: 15.07 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0005049/1.01, allocations: 413.1 kB / 1.403 GB, free: 14.66 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001684/1.01, allocations: 103.4 kB / 1.403 GB, free: 14.56 MB / 1.076 GB Notification: Performance of SimCode: time 2.01e-07/1.01, allocations: 0 / 1.403 GB, free: 14.56 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.355/5.365, allocations: 63.14 MB / 1.465 GB, free: 15.43 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.05/22.42, allocations: 2.031 kB / 1.465 GB, free: 15.43 MB / 1.139 GB (rm -f Buildings_10_Buildings.Media.Examples.SteamProperties.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.SteamProperties.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.SteamProperties.pipe >> ../files/Buildings_10_Buildings.Media.Examples.SteamProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Examples.SteamProperties_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Examples_SteamProperties_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Media_Examples_SteamProperties.fmu > Buildings_10_Buildings.Media.Examples.SteamProperties.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.SteamProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_SteamProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.SteamProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches