Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_11_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.00169/0.00169, 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.002011/0.002011, allocations: 193.1 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.279/1.279, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.536/2.536, allocations: 469.8 MB / 0.7424 GB, free: 7.488 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 69.22 kB / 0.9086 GB, free: 34.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.2506, allocations: 159.2 MB / 1.064 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.005686/0.2563, allocations: 4.726 MB / 1.069 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002783/0.2591, allocations: 2.695 MB / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.666e-05/0.2591, allocations: 3.938 kB / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002064/0.2594, allocations: 47.67 kB / 1.071 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002127/0.2596, allocations: 95.41 kB / 1.071 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009422/0.2605, allocations: 0.4962 MB / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002747/0.2608, allocations: 235.9 kB / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.692e-05/0.2609, allocations: 9.562 kB / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001731/0.261, allocations: 115.6 kB / 1.072 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.2612, allocations: 95.59 kB / 1.072 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.233e-05/0.2612, allocations: 8 kB / 1.072 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006069/0.2618, allocations: 363.3 kB / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.7e-05/0.2619, allocations: 39.83 kB / 1.073 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.994e-05/0.262, allocations: 83.64 kB / 1.073 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005149/0.2625, allocations: 355.4 kB / 1.073 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.2625, allocations: 0 / 1.073 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2625, allocations: 3.938 kB / 1.073 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.429e-06/0.2625, allocations: 0 / 1.073 GB, free: 4.891 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.0006847/0.2632, allocations: 0.5031 MB / 1.074 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.079e-05/0.2633, allocations: 8.031 kB / 1.074 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.114e-05/0.2634, allocations: 50.73 kB / 1.074 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001412/0.2635, allocations: 24.73 kB / 1.074 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002094/0.2637, allocations: 212.1 kB / 1.074 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.2637, allocations: 12.7 kB / 1.074 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.431e-05/0.2638, allocations: 20.36 kB / 1.074 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003532/0.2641, allocations: 251.9 kB / 1.074 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.2641, allocations: 3.938 kB / 1.074 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.42e-05/0.2642, allocations: 15.92 kB / 1.074 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.965e-05/0.2642, allocations: 4 kB / 1.074 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004853/0.2647, allocations: 427.5 kB / 1.075 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001068/0.2658, allocations: 0.9487 MB / 1.076 GB, free: 2.227 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000268/0.266, allocations: 155.1 kB / 1.076 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.938e-05/0.2661, allocations: 60.88 kB / 1.076 GB, free: 2.004 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00146/0.2676, allocations: 1.837 MB / 1.078 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.2677, allocations: 30.56 kB / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=15): time 1.162e-06/0.2677, allocations: 0 / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of matching and sorting (n=15): time 0.0002965/0.268, allocations: 151.3 kB / 1.078 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.268, allocations: 59.34 kB / 1.078 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.2682, allocations: 165.1 kB / 1.078 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.693e-05/0.2682, allocations: 29.7 kB / 1.078 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.458e-05/0.2683, allocations: 147.8 kB / 1.078 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.86e-05/0.2683, allocations: 51.2 kB / 1.078 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.254e-05/0.2684, allocations: 57.7 kB / 1.078 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.2686, allocations: 322.8 kB / 1.079 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.463e-05/0.2686, allocations: 35.97 kB / 1.079 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/0.2688, allocations: 139 kB / 1.079 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002357/0.269, allocations: 201.5 kB / 1.079 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.269, allocations: 0 / 1.079 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003137/0.2694, allocations: 215.2 kB / 1.079 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.2694, allocations: 8 kB / 1.079 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.473e-06/0.2694, allocations: 4 kB / 1.079 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.2694, allocations: 7.938 kB / 1.079 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.2696, allocations: 60.38 kB / 1.079 GB, free: 14 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.2696, allocations: 11.94 kB / 1.079 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.2697, allocations: 27.69 kB / 1.079 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.866e-05/0.2697, allocations: 19.94 kB / 1.079 GB, free: 13.94 MB / 0.8419 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.0001027/0.2698, allocations: 129.8 kB / 1.079 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.895e-05/0.2699, allocations: 15.81 kB / 1.079 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002777/0.2702, allocations: 151 kB / 1.08 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.2702, allocations: 3.938 kB / 1.08 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.2702, allocations: 0 / 1.08 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.2702, allocations: 4 kB / 1.08 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002444/0.2705, allocations: 221.4 kB / 1.08 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2705, allocations: 0 / 1.08 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.758e-05/0.2706, allocations: 31.92 kB / 1.08 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.542e-06/0.2706, allocations: 0 / 1.08 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.2706, allocations: 4 kB / 1.08 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.2706, allocations: 3.938 kB / 1.08 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.2706, allocations: 0 / 1.08 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002425/0.2708, allocations: 229.1 kB / 1.08 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/0.271, allocations: 108.9 kB / 1.08 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.271, allocations: 4 kB / 1.08 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/0.2712, allocations: 19.86 kB / 1.08 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.109e-05/0.2712, allocations: 11.98 kB / 1.08 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.768e-05/0.2712, allocations: 11.94 kB / 1.08 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.686e-05/0.2713, allocations: 121.6 kB / 1.08 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.2713, allocations: 0 / 1.08 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003503/0.2717, allocations: 79.92 kB / 1.08 GB, free: 12.71 MB / 0.8419 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.0006905/0.2724, allocations: 0.8215 MB / 1.081 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002385/0.2726, allocations: 130 kB / 1.081 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2726, allocations: 0 / 1.081 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 6.884e-05/0.2727, allocations: 51.84 kB / 1.081 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003867/0.2731, allocations: 56.83 kB / 1.081 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002081/0.2752, allocations: 2.031 MB / 1.083 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/0.2756, allocations: 0.7129 MB / 1.084 GB, free: 8.699 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001485/0.2757, allocations: 45.75 kB / 1.084 GB, free: 8.656 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.47e-05/0.2758, allocations: 47.42 kB / 1.084 GB, free: 8.609 MB / 0.8419 GB Notification: Performance of SimCode: time 2.1e-07/0.2758, allocations: 0 / 1.084 GB, free: 8.609 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4755/0.7513, allocations: 5.204 MB / 1.089 GB, free: 3.488 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.68, allocations: 3.859 kB / 1.089 GB, free: 3.484 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_11_Buildings.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Examples.WaterProperties_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Media_Examples_WaterProperties.fmu > Buildings_11_Buildings.Media.Examples.WaterProperties.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Examples.WaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_WaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.WaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches