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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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.0007804/0.0007804, allocations: 90.75 kB / 15.36 MB, free: 0.7383 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.004736/0.004736, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.329/1.329, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.678/2.678, allocations: 462.7 MB / 0.7364 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003526/0.0003526, allocations: 8.344 kB / 0.9029 GB, free: 36.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3376, allocations: 159.6 MB / 1.059 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.005364/0.343, allocations: 4.379 MB / 1.063 GB, free: 460 kB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002982/0.346, allocations: 2.683 MB / 1.066 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001515/0.3462, allocations: 0 / 1.066 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000285/0.3465, allocations: 39.75 kB / 1.066 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003303/0.3468, allocations: 95.47 kB / 1.066 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001338/0.3482, allocations: 451.5 kB / 1.066 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003888/0.3486, allocations: 307.8 kB / 1.067 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.733e-05/0.3486, allocations: 9.562 kB / 1.067 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002735/0.3489, allocations: 111.6 kB / 1.067 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001917/0.3491, allocations: 95.59 kB / 1.067 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.422e-05/0.3492, allocations: 4 kB / 1.067 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008535/0.35, allocations: 375.2 kB / 1.067 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.583e-05/0.3501, allocations: 43.81 kB / 1.067 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001179/0.3503, allocations: 105.4 kB / 1.067 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007946/0.3511, allocations: 359.3 kB / 1.068 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.3511, allocations: 3.938 kB / 1.068 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3511, allocations: 0 / 1.068 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.3511, allocations: 0 / 1.068 GB, free: 11.79 MB / 0.8262 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.0007022/0.3518, allocations: 467.4 kB / 1.068 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.3519, allocations: 15.97 kB / 1.068 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.186e-05/0.3519, allocations: 46.73 kB / 1.068 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001581/0.3521, allocations: 20.75 kB / 1.068 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002787/0.3524, allocations: 224 kB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.3524, allocations: 8.703 kB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.587e-05/0.3524, allocations: 16.38 kB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003771/0.3528, allocations: 259.8 kB / 1.069 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.3528, allocations: 3.938 kB / 1.069 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.508e-05/0.3529, allocations: 12 kB / 1.069 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.887e-05/0.3529, allocations: 7.984 kB / 1.069 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004719/0.3534, allocations: 427.5 kB / 1.069 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001142/0.3545, allocations: 0.9526 MB / 1.07 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002676/0.3548, allocations: 165.2 kB / 1.07 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.3549, allocations: 62.86 kB / 1.07 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001418/0.3563, allocations: 1.817 MB / 1.072 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.3564, allocations: 42.55 kB / 1.072 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=15): time 1.473e-06/0.3564, allocations: 0 / 1.072 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15): time 0.0003438/0.3567, allocations: 155.7 kB / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.3568, allocations: 55.41 kB / 1.072 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.357, allocations: 171.9 kB / 1.072 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.373e-05/0.357, allocations: 33.7 kB / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.934e-05/0.3571, allocations: 139.8 kB / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.033e-05/0.3572, allocations: 51.3 kB / 1.073 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.616e-05/0.3572, allocations: 25.7 kB / 1.073 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.3573, allocations: 326.8 kB / 1.073 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.236e-05/0.3574, allocations: 35.98 kB / 1.073 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.3575, allocations: 137.6 kB / 1.073 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002321/0.3578, allocations: 196.1 kB / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.3578, allocations: 4 kB / 1.073 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003401/0.3581, allocations: 213.1 kB / 1.073 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.3582, allocations: 4 kB / 1.073 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.3582, allocations: 4.469 kB / 1.073 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.3582, allocations: 11.94 kB / 1.073 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001777/0.3584, allocations: 63.84 kB / 1.074 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.3584, allocations: 4 kB / 1.074 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/0.3585, allocations: 31.69 kB / 1.074 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.3586, allocations: 8 kB / 1.074 GB, free: 4.906 MB / 0.8262 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.0001384/0.3587, allocations: 137.8 kB / 1.074 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.928e-05/0.3588, allocations: 19.81 kB / 1.074 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002962/0.3591, allocations: 154.9 kB / 1.074 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.205e-05/0.3591, allocations: 7.938 kB / 1.074 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3591, allocations: 0 / 1.074 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.3591, allocations: 0 / 1.074 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002671/0.3594, allocations: 221.4 kB / 1.074 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3594, allocations: 0 / 1.074 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.863e-05/0.3595, allocations: 23.98 kB / 1.074 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.3595, allocations: 0 / 1.074 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.3595, allocations: 8 kB / 1.074 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.3595, allocations: 3.938 kB / 1.074 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3595, allocations: 3.938 kB / 1.074 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002358/0.3598, allocations: 226.1 kB / 1.074 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.452e-05/0.3599, allocations: 104.9 kB / 1.074 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.438e-05/0.3599, allocations: 4 kB / 1.074 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002178/0.3601, allocations: 27.92 kB / 1.074 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.67e-05/0.3602, allocations: 7.984 kB / 1.074 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.278e-05/0.3602, allocations: 19.98 kB / 1.074 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.298e-05/0.3603, allocations: 120 kB / 1.075 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3603, allocations: 0 / 1.075 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003946/0.3607, allocations: 71.94 kB / 1.075 GB, free: 3.672 MB / 0.8262 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.0007309/0.3614, allocations: 0.8293 MB / 1.075 GB, free: 2.812 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002291/0.3617, allocations: 111.8 kB / 1.076 GB, free: 2.703 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3617, allocations: 0.9375 kB / 1.076 GB, free: 2.703 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.903e-05/0.3617, allocations: 47.86 kB / 1.076 GB, free: 2.656 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000472/0.3622, allocations: 66.92 kB / 1.076 GB, free: 2.594 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002221/0.3645, allocations: 2.115 MB / 1.078 GB, free: 320 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/0.3648, allocations: 0.7131 MB / 1.078 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001777/0.3649, allocations: 49.8 kB / 1.079 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.135e-05/0.365, allocations: 43.42 kB / 1.079 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of SimCode: time 2.7e-07/0.365, allocations: 4 kB / 1.079 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.151/2.516, allocations: 4.91 MB / 1.083 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002336/2.517, allocations: 194.4 kB / 1.084 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.958/5.474, allocations: 4 kB / 1.084 GB, free: 10.45 MB / 0.8419 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