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.006336/0.006342, allocations: 104.6 kB / 15.74 MB, free: 5.984 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.001291/0.001291, allocations: 197.5 kB / 16.67 MB, free: 5.91 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.543/2.543, allocations: 461.9 MB / 0.7348 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001711/0.001711, allocations: 63.89 kB / 1.054 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8795/0.8813, allocations: 157.4 MB / 1.207 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.006349/0.8877, allocations: 4.717 MB / 1.212 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003075/0.8908, allocations: 2.702 MB / 1.215 GB, free: 6.027 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001338/0.8909, allocations: 0 / 1.215 GB, free: 6.027 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002914/0.8912, allocations: 43.69 kB / 1.215 GB, free: 5.984 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003389/0.8916, allocations: 99.34 kB / 1.215 GB, free: 5.887 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001387/0.893, allocations: 0.5011 MB / 1.215 GB, free: 5.387 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000332/0.8934, allocations: 235.9 kB / 1.215 GB, free: 5.156 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.053e-05/0.8934, allocations: 9.562 kB / 1.215 GB, free: 5.148 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002232/0.8937, allocations: 119.6 kB / 1.216 GB, free: 5.031 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001598/0.8938, allocations: 87.61 kB / 1.216 GB, free: 4.945 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.569e-05/0.8939, allocations: 8 kB / 1.216 GB, free: 4.938 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007363/0.8946, allocations: 371.3 kB / 1.216 GB, free: 4.574 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.306e-05/0.8947, allocations: 39.89 kB / 1.216 GB, free: 4.535 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.84e-05/0.8948, allocations: 79.59 kB / 1.216 GB, free: 4.457 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007059/0.8955, allocations: 353.5 kB / 1.216 GB, free: 4.113 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 1.316e-05/0.8955, allocations: 4 kB / 1.216 GB, free: 4.109 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8955, allocations: 0 / 1.216 GB, free: 4.109 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.8956, allocations: 0 / 1.216 GB, free: 4.109 MB / 0.9356 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.0007373/0.8963, allocations: 0.4992 MB / 1.217 GB, free: 3.559 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.8963, allocations: 12.03 kB / 1.217 GB, free: 3.547 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.899e-05/0.8964, allocations: 58.67 kB / 1.217 GB, free: 3.48 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001782/0.8966, allocations: 28.73 kB / 1.217 GB, free: 3.453 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002995/0.8969, allocations: 212 kB / 1.217 GB, free: 3.207 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.8969, allocations: 12.7 kB / 1.217 GB, free: 3.195 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.107e-05/0.897, allocations: 16.38 kB / 1.217 GB, free: 3.18 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003847/0.8974, allocations: 244 kB / 1.217 GB, free: 2.922 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.8974, allocations: 7.938 kB / 1.217 GB, free: 2.914 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.755e-05/0.8974, allocations: 15.98 kB / 1.217 GB, free: 2.898 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.655e-05/0.8974, allocations: 11.98 kB / 1.218 GB, free: 2.887 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004838/0.8979, allocations: 423.5 kB / 1.218 GB, free: 2.473 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/0.8991, allocations: 0.9371 MB / 1.219 GB, free: 1.445 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002738/0.8994, allocations: 167 kB / 1.219 GB, free: 1.27 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.8995, allocations: 65.75 kB / 1.219 GB, free: 1.203 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001406/0.9009, allocations: 1.821 MB / 1.221 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.9009, allocations: 38.56 kB / 1.221 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=15): time 1.713e-06/0.9009, allocations: 0 / 1.221 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15): time 0.0003464/0.9013, allocations: 145.3 kB / 1.221 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.9013, allocations: 59.34 kB / 1.221 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.9015, allocations: 164 kB / 1.221 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.9015, allocations: 37.62 kB / 1.221 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.575e-05/0.9016, allocations: 147.8 kB / 1.221 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.342e-05/0.9016, allocations: 47.27 kB / 1.221 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.571e-05/0.9017, allocations: 53.61 kB / 1.221 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.9018, allocations: 326.8 kB / 1.222 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.123e-05/0.9019, allocations: 43.97 kB / 1.222 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.9021, allocations: 138.9 kB / 1.222 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002312/0.9023, allocations: 203.3 kB / 1.222 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.9023, allocations: 0 / 1.222 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003268/0.9026, allocations: 217.3 kB / 1.222 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.9027, allocations: 8 kB / 1.222 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.9027, allocations: 0 / 1.222 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.9027, allocations: 11.94 kB / 1.222 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/0.9029, allocations: 51.92 kB / 1.222 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.9029, allocations: 11.92 kB / 1.222 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.903, allocations: 23.75 kB / 1.222 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.823e-05/0.903, allocations: 12.34 kB / 1.222 GB, free: 13.15 MB / 0.9512 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.0001128/0.9032, allocations: 137.7 kB / 1.223 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.073e-05/0.9032, allocations: 19.81 kB / 1.223 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000309/0.9035, allocations: 157.5 kB / 1.223 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.9035, allocations: 3.938 kB / 1.223 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.9036, allocations: 4 kB / 1.223 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.9036, allocations: 0 / 1.223 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002478/0.9038, allocations: 221.4 kB / 1.223 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.9038, allocations: 3.984 kB / 1.223 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.979e-05/0.9039, allocations: 27.94 kB / 1.223 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.9039, allocations: 0 / 1.223 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.904, allocations: 7.984 kB / 1.223 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.904, allocations: 7.938 kB / 1.223 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.904, allocations: 0 / 1.223 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002467/0.9042, allocations: 211.3 kB / 1.223 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.78e-05/0.9043, allocations: 104.9 kB / 1.223 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.708e-05/0.9044, allocations: 15.98 kB / 1.223 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002301/0.9046, allocations: 15.94 kB / 1.223 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.628e-05/0.9046, allocations: 19.86 kB / 1.223 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.135e-05/0.9047, allocations: 11.98 kB / 1.223 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.796e-05/0.9048, allocations: 120.2 kB / 1.224 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9048, allocations: 0 / 1.224 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004197/0.9052, allocations: 87.89 kB / 1.224 GB, free: 11.91 MB / 0.9512 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.0007455/0.9059, allocations: 0.8159 MB / 1.224 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002515/0.9062, allocations: 116.6 kB / 1.225 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.9062, allocations: 4.062 kB / 1.225 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 6.704e-05/0.9063, allocations: 43.92 kB / 1.225 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004488/0.9067, allocations: 55.81 kB / 1.225 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002704/0.9095, allocations: 2.032 MB / 1.227 GB, free: 8.645 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003737/0.9099, allocations: 0.7168 MB / 1.227 GB, free: 7.902 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001976/0.9101, allocations: 49.78 kB / 1.227 GB, free: 7.855 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.519e-05/0.9102, allocations: 47.42 kB / 1.227 GB, free: 7.809 MB / 0.9512 GB Notification: Performance of SimCode: time 2.695e-06/0.9102, allocations: 0 / 1.227 GB, free: 7.809 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02386/0.934, allocations: 5.304 MB / 1.233 GB, free: 2.609 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.846/8.78, allocations: 9.047 kB / 1.233 GB, free: 2.605 MB / 0.9512 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