Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.WaterProperties.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.WaterProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_WaterProperties",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.004893/0.004893, allocations: 99.64 kB / 15.73 MB, free: 5.547 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.0011/0.0011, allocations: 193.6 kB / 16.67 MB, free: 5.492 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.44/1.44, allocations: 222.9 MB / 240.4 MB, free: 4.191 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.922/2.922, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001614/0.001614, allocations: 67.89 kB / 1.054 GB, free: 7.586 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.3621, allocations: 157.4 MB / 1.207 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.007522/0.3696, allocations: 4.729 MB / 1.212 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003857/0.3735, allocations: 2.702 MB / 1.215 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002522/0.3738, allocations: 0 / 1.215 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004056/0.3742, allocations: 51.66 kB / 1.215 GB, free: 2.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003898/0.3747, allocations: 87.44 kB / 1.215 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001537/0.3763, allocations: 0.4992 MB / 1.215 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000315/0.3766, allocations: 235.9 kB / 1.215 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 6.858e-05/0.3767, allocations: 13.56 kB / 1.215 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002347/0.3769, allocations: 119.5 kB / 1.216 GB, free: 1.629 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001656/0.3771, allocations: 91.67 kB / 1.216 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.66e-05/0.3771, allocations: 8 kB / 1.216 GB, free: 1.531 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007511/0.3779, allocations: 371.3 kB / 1.216 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.087e-05/0.378, allocations: 39.83 kB / 1.216 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.483e-05/0.3781, allocations: 75.67 kB / 1.216 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005838/0.3787, allocations: 367.3 kB / 1.216 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3787, allocations: 0 / 1.216 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.914e-06/0.3787, allocations: 0 / 1.216 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.099e-05/0.3787, allocations: 0 / 1.216 GB, free: 0.6953 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008018/0.3795, allocations: 0.4993 MB / 1.217 GB, free: 148 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.3796, allocations: 8.625 kB / 1.217 GB, free: 140 kB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.35e-05/0.3796, allocations: 54.73 kB / 1.217 GB, free: 76 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001634/0.3798, allocations: 24.73 kB / 1.217 GB, free: 52 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003001/0.3801, allocations: 212 kB / 1.217 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.907e-05/0.3801, allocations: 12.7 kB / 1.217 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/0.3802, allocations: 24.25 kB / 1.217 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004068/0.3806, allocations: 252 kB / 1.217 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.3806, allocations: 0 / 1.217 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.537e-05/0.3806, allocations: 8 kB / 1.217 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.89e-05/0.3807, allocations: 4 kB / 1.217 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000471/0.3812, allocations: 435.5 kB / 1.218 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001158/0.3823, allocations: 0.941 MB / 1.219 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002771/0.3826, allocations: 166 kB / 1.219 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.864e-05/0.3827, allocations: 64.88 kB / 1.219 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001383/0.3841, allocations: 1.829 MB / 1.221 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.3841, allocations: 30.56 kB / 1.221 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=15): time 1.262e-06/0.3842, allocations: 0 / 1.221 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15): time 0.0003481/0.3845, allocations: 159.2 kB / 1.221 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.3846, allocations: 51.41 kB / 1.221 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.3847, allocations: 167.4 kB / 1.221 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.3848, allocations: 29.69 kB / 1.221 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.341e-05/0.3849, allocations: 143.8 kB / 1.221 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.399e-05/0.3849, allocations: 55.2 kB / 1.221 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.636e-05/0.385, allocations: 53.61 kB / 1.221 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001831/0.3852, allocations: 322.8 kB / 1.222 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.479e-05/0.3852, allocations: 35.97 kB / 1.222 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.3854, allocations: 139.5 kB / 1.222 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002322/0.3856, allocations: 200 kB / 1.222 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.3856, allocations: 4 kB / 1.222 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004234/0.3861, allocations: 209.2 kB / 1.222 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.3861, allocations: 8 kB / 1.222 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.3861, allocations: 4 kB / 1.222 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.3861, allocations: 7.938 kB / 1.222 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001725/0.3863, allocations: 55.91 kB / 1.222 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.3863, allocations: 12.41 kB / 1.222 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.3864, allocations: 31.69 kB / 1.222 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.007e-05/0.3865, allocations: 16 kB / 1.222 GB, free: 9.746 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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): 29 * Array equations: 1 * 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.0001132/0.3866, allocations: 125.8 kB / 1.223 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.844e-05/0.3866, allocations: 15.81 kB / 1.223 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000296/0.3869, allocations: 158.9 kB / 1.223 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/0.387, allocations: 7.938 kB / 1.223 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.387, allocations: 0 / 1.223 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.387, allocations: 0 / 1.223 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002391/0.3872, allocations: 217.4 kB / 1.223 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.3872, allocations: 4 kB / 1.223 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.712e-05/0.3873, allocations: 27.98 kB / 1.223 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.3873, allocations: 0 / 1.223 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.3874, allocations: 7.938 kB / 1.223 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.3874, allocations: 3.938 kB / 1.223 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3874, allocations: 0 / 1.223 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002394/0.3876, allocations: 225.9 kB / 1.223 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.886e-05/0.3877, allocations: 112.9 kB / 1.223 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.682e-05/0.3878, allocations: 8 kB / 1.223 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.3879, allocations: 15.92 kB / 1.223 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.375e-05/0.388, allocations: 11.98 kB / 1.223 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.88e-05/0.388, allocations: 8 kB / 1.223 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.229e-05/0.3881, allocations: 124.9 kB / 1.224 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3881, allocations: 0 / 1.224 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.00038/0.3885, allocations: 79.92 kB / 1.224 GB, free: 8.52 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (15): * Single equations (assignments): 14 * Array equations: 1 * 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 Backend phase and start with SimCode phase: time 0.0006812/0.3892, allocations: 0.8294 MB / 1.224 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002311/0.3894, allocations: 118.8 kB / 1.225 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.3894, allocations: 4 kB / 1.225 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.517e-05/0.3895, allocations: 47.86 kB / 1.225 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004283/0.3899, allocations: 60.56 kB / 1.225 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002188/0.3921, allocations: 2.046 MB / 1.227 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000275/0.3924, allocations: 0.7168 MB / 1.227 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000138/0.3926, allocations: 41.77 kB / 1.227 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.863e-05/0.3926, allocations: 43.42 kB / 1.227 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of SimCode: time 2.21e-07/0.3926, allocations: 0 / 1.227 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02276/0.4154, allocations: 5.291 MB / 1.233 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.718/8.134, allocations: 25.08 kB / 1.233 GB, free: 15.19 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.WaterProperties_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_WaterProperties.fmu > Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.WaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_WaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.WaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches