Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.WaterProperties,fileNamePrefix="Buildings_10_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_10_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.001168/0.001168, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 192.3 kB / 16.53 MB, free: 6.391 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.248/1.248, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.447/2.447, allocations: 437.1 MB / 0.7104 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001663/0.001664, allocations: 63.84 kB / 0.8693 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5996/0.6013, allocations: 151.6 MB / 1.017 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.00527/0.6066, allocations: 4.72 MB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002554/0.6092, allocations: 2.698 MB / 1.025 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.105e-05/0.6093, allocations: 4 kB / 1.025 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002687/0.6096, allocations: 47.69 kB / 1.025 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002481/0.6099, allocations: 99.34 kB / 1.025 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001056/0.6109, allocations: 0.5035 MB / 1.025 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002378/0.6112, allocations: 228 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.465e-05/0.6112, allocations: 9.562 kB / 1.026 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001955/0.6114, allocations: 119.5 kB / 1.026 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001389/0.6116, allocations: 91.59 kB / 1.026 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.889e-05/0.6116, allocations: 8 kB / 1.026 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006681/0.6123, allocations: 363.4 kB / 1.026 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.048e-05/0.6124, allocations: 43.83 kB / 1.026 GB, free: 9.516 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.318e-05/0.6125, allocations: 83.58 kB / 1.026 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000577/0.6131, allocations: 361.4 kB / 1.027 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.6131, allocations: 0 / 1.027 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.044e-06/0.6131, allocations: 0 / 1.027 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.6131, allocations: 0 / 1.027 GB, free: 9.082 MB / 0.7794 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.0007826/0.6139, allocations: 0.4954 MB / 1.027 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.6139, allocations: 8.031 kB / 1.027 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.4e-05/0.614, allocations: 54.73 kB / 1.027 GB, free: 8.469 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001743/0.6142, allocations: 24.73 kB / 1.027 GB, free: 8.445 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002361/0.6144, allocations: 216 kB / 1.027 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.6145, allocations: 12.7 kB / 1.027 GB, free: 8.184 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.423e-05/0.6145, allocations: 16.38 kB / 1.027 GB, free: 8.168 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003658/0.6149, allocations: 248 kB / 1.028 GB, free: 7.906 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.6149, allocations: 0 / 1.028 GB, free: 7.906 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.39e-05/0.6149, allocations: 8 kB / 1.028 GB, free: 7.898 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.401e-05/0.6149, allocations: 4 kB / 1.028 GB, free: 7.895 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004502/0.6154, allocations: 439.3 kB / 1.028 GB, free: 7.465 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009863/0.6164, allocations: 0.9449 MB / 1.029 GB, free: 6.43 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002503/0.6166, allocations: 161.1 kB / 1.029 GB, free: 6.266 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.039e-05/0.6167, allocations: 64.81 kB / 1.029 GB, free: 6.199 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00112/0.6179, allocations: 1.817 MB / 1.031 GB, free: 4.023 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.6179, allocations: 38.5 kB / 1.031 GB, free: 3.977 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.242e-06/0.6179, allocations: 4 kB / 1.031 GB, free: 3.973 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0003087/0.6182, allocations: 151.6 kB / 1.031 GB, free: 3.82 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.6183, allocations: 55.41 kB / 1.031 GB, free: 3.754 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.6184, allocations: 177.9 kB / 1.031 GB, free: 3.57 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.6184, allocations: 25.7 kB / 1.031 GB, free: 3.539 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.254e-05/0.6185, allocations: 139.8 kB / 1.031 GB, free: 3.398 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.218e-05/0.6186, allocations: 55.34 kB / 1.032 GB, free: 3.344 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.425e-05/0.6186, allocations: 57.59 kB / 1.032 GB, free: 3.281 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.285e-05/0.6187, allocations: 322.8 kB / 1.032 GB, free: 2.957 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.62e-05/0.6188, allocations: 31.98 kB / 1.032 GB, free: 2.926 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.6189, allocations: 150.1 kB / 1.032 GB, free: 2.73 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002031/0.6191, allocations: 195.4 kB / 1.032 GB, free: 2.492 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.6191, allocations: 0 / 1.032 GB, free: 2.492 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002925/0.6194, allocations: 221.4 kB / 1.032 GB, free: 2.27 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.6195, allocations: 4 kB / 1.032 GB, free: 2.266 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.6195, allocations: 4 kB / 1.032 GB, free: 2.262 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.6195, allocations: 7.938 kB / 1.032 GB, free: 2.254 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.6196, allocations: 59.91 kB / 1.033 GB, free: 2.195 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.6197, allocations: 7.938 kB / 1.033 GB, free: 2.188 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.706e-05/0.6198, allocations: 19.75 kB / 1.033 GB, free: 2.168 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.819e-05/0.6198, allocations: 16 kB / 1.033 GB, free: 2.152 MB / 0.7794 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 9.296e-05/0.6199, allocations: 137.8 kB / 1.033 GB, free: 2.008 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.073e-05/0.6199, allocations: 15.89 kB / 1.033 GB, free: 1.992 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002672/0.6202, allocations: 160.2 kB / 1.033 GB, free: 1.836 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/0.6202, allocations: 3.938 kB / 1.033 GB, free: 1.832 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.6202, allocations: 0 / 1.033 GB, free: 1.832 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.6202, allocations: 0 / 1.033 GB, free: 1.832 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002119/0.6205, allocations: 213.6 kB / 1.033 GB, free: 1.574 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.6205, allocations: 0 / 1.033 GB, free: 1.574 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.37e-05/0.6206, allocations: 27.98 kB / 1.033 GB, free: 1.547 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.6206, allocations: 4 kB / 1.033 GB, free: 1.543 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.6206, allocations: 7.938 kB / 1.033 GB, free: 1.535 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.6206, allocations: 3.938 kB / 1.033 GB, free: 1.531 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.6206, allocations: 0 / 1.033 GB, free: 1.531 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002183/0.6208, allocations: 223.3 kB / 1.033 GB, free: 1.297 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.952e-05/0.6209, allocations: 108.8 kB / 1.033 GB, free: 1.172 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.548e-05/0.6209, allocations: 4 kB / 1.033 GB, free: 1.168 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000188/0.6211, allocations: 19.86 kB / 1.033 GB, free: 1.148 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.474e-05/0.6212, allocations: 15.98 kB / 1.033 GB, free: 1.133 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.6212, allocations: 11.94 kB / 1.033 GB, free: 1.121 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.435e-05/0.6213, allocations: 121.6 kB / 1.034 GB, free: 1.004 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6213, allocations: 0 / 1.034 GB, free: 1.004 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003574/0.6216, allocations: 75.98 kB / 1.034 GB, free: 0.9297 MB / 0.7794 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.0008339/0.6225, allocations: 0.8346 MB / 1.034 GB, free: 72 kB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002726/0.6228, allocations: 126 kB / 1.035 GB, free: 15.95 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.6228, allocations: 192 / 1.035 GB, free: 15.95 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 6.878e-05/0.6228, allocations: 51.92 kB / 1.035 GB, free: 15.89 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004199/0.6233, allocations: 47.83 kB / 1.035 GB, free: 15.85 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00224/0.6255, allocations: 2.029 MB / 1.037 GB, free: 13.65 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/0.6258, allocations: 0.7128 MB / 1.037 GB, free: 12.91 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001636/0.626, allocations: 49.75 kB / 1.037 GB, free: 12.86 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.73e-05/0.6261, allocations: 51.42 kB / 1.037 GB, free: 12.81 MB / 0.795 GB Notification: Performance of SimCode: time 2.2e-07/0.6261, allocations: 3.828 kB / 1.037 GB, free: 12.81 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.272/0.8981, allocations: 5.19 MB / 1.043 GB, free: 7.703 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.632/10.53, allocations: 5.938 kB / 1.043 GB, free: 7.703 MB / 0.795 GB (rm -f Buildings_10_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_10_Buildings.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Examples.WaterProperties_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Media_Examples_WaterProperties.fmu > Buildings_10_Buildings.Media.Examples.WaterProperties.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.WaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_WaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.WaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches