Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.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.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_11_Buildings_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_11_Buildings_Media_Examples_PropyleneGlycolWaterProperties",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.001647/0.001647, 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.001771/0.001771, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.271/1.271, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.476/2.476, allocations: 469.8 MB / 0.7424 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001695/0.001695, allocations: 76.62 kB / 0.9086 GB, free: 34.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2455, allocations: 159.2 MB / 1.064 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.005696/0.2512, allocations: 4.422 MB / 1.068 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002745/0.254, allocations: 2.691 MB / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.99e-05/0.2541, allocations: 4 kB / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002172/0.2543, allocations: 39.69 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002443/0.2546, allocations: 103.3 kB / 1.071 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001071/0.2556, allocations: 494.7 kB / 1.072 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002471/0.2559, allocations: 239.9 kB / 1.072 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.011e-05/0.2559, allocations: 5.562 kB / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008036/0.2567, allocations: 422.8 kB / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001255/0.2569, allocations: 87.67 kB / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.178e-05/0.2569, allocations: 4 kB / 1.072 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008826/0.2578, allocations: 491.3 kB / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.108e-05/0.2579, allocations: 35.89 kB / 1.073 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.879e-05/0.258, allocations: 79.64 kB / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005629/0.2585, allocations: 351.1 kB / 1.073 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.2585, allocations: 8 kB / 1.073 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.363e-06/0.2585, allocations: 0 / 1.073 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.2586, allocations: 0 / 1.073 GB, free: 4.812 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.0006597/0.2592, allocations: 0.5044 MB / 1.074 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.2593, allocations: 8.031 kB / 1.074 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.444e-05/0.2593, allocations: 54.67 kB / 1.074 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001395/0.2595, allocations: 20.75 kB / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.2597, allocations: 212.1 kB / 1.074 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.2597, allocations: 12.7 kB / 1.074 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.2597, allocations: 16.38 kB / 1.074 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003417/0.2601, allocations: 244.9 kB / 1.074 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.2601, allocations: 3.938 kB / 1.074 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.228e-05/0.2601, allocations: 15.94 kB / 1.074 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.209e-05/0.2601, allocations: 8 kB / 1.074 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004641/0.2606, allocations: 431.5 kB / 1.075 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009984/0.2616, allocations: 1.004 MB / 1.076 GB, free: 2.09 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002539/0.2619, allocations: 159 kB / 1.076 GB, free: 1.926 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.325e-05/0.262, allocations: 60.89 kB / 1.076 GB, free: 1.863 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001336/0.2633, allocations: 1.829 MB / 1.078 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.2634, allocations: 30.56 kB / 1.078 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=15): time 1.102e-06/0.2634, allocations: 0 / 1.078 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of matching and sorting (n=15): time 0.0003074/0.2637, allocations: 163.2 kB / 1.078 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/0.2637, allocations: 51.41 kB / 1.078 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.2639, allocations: 177.1 kB / 1.078 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.2639, allocations: 25.7 kB / 1.078 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.165e-05/0.264, allocations: 139.8 kB / 1.078 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.567e-05/0.264, allocations: 51.34 kB / 1.078 GB, free: 15 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.378e-05/0.2641, allocations: 57.61 kB / 1.078 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.2642, allocations: 318.8 kB / 1.079 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.802e-05/0.2643, allocations: 35.98 kB / 1.079 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.2644, allocations: 146.9 kB / 1.079 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002196/0.2647, allocations: 195.5 kB / 1.079 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.2647, allocations: 4 kB / 1.079 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003044/0.265, allocations: 209.5 kB / 1.079 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.265, allocations: 8 kB / 1.079 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.265, allocations: 7.984 kB / 1.079 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.265, allocations: 11.88 kB / 1.079 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/0.2652, allocations: 51.91 kB / 1.079 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.2652, allocations: 11.94 kB / 1.079 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.993e-05/0.2653, allocations: 31.67 kB / 1.079 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/0.2653, allocations: 12 kB / 1.079 GB, free: 13.8 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.0001068/0.2655, allocations: 141.9 kB / 1.08 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.593e-05/0.2655, allocations: 11.91 kB / 1.08 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002685/0.2658, allocations: 156.4 kB / 1.08 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.2658, allocations: 7.938 kB / 1.08 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.2658, allocations: 0 / 1.08 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.2658, allocations: 0 / 1.08 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002304/0.266, allocations: 217.5 kB / 1.08 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.2661, allocations: 0 / 1.08 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.426e-05/0.2661, allocations: 31.98 kB / 1.08 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.2662, allocations: 0 / 1.08 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.2662, allocations: 8 kB / 1.08 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.2662, allocations: 7.922 kB / 1.08 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2662, allocations: 0 / 1.08 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002284/0.2664, allocations: 215.3 kB / 1.08 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.786e-05/0.2665, allocations: 116.8 kB / 1.08 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.493e-05/0.2665, allocations: 8 kB / 1.08 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001838/0.2667, allocations: 15.92 kB / 1.08 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.987e-05/0.2668, allocations: 15.98 kB / 1.08 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.2668, allocations: 4 kB / 1.08 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.985e-05/0.2669, allocations: 125.6 kB / 1.08 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2669, allocations: 0 / 1.08 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003379/0.2672, allocations: 79.98 kB / 1.08 GB, free: 12.57 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.0006796/0.2679, allocations: 0.8353 MB / 1.081 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002248/0.2681, allocations: 127.7 kB / 1.081 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.2682, allocations: 4.938 kB / 1.081 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 6.341e-05/0.2682, allocations: 46.88 kB / 1.081 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003879/0.2686, allocations: 53.56 kB / 1.082 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002018/0.2706, allocations: 2.024 MB / 1.084 GB, free: 9.289 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/0.2709, allocations: 0.709 MB / 1.084 GB, free: 8.555 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001614/0.2711, allocations: 53.67 kB / 1.084 GB, free: 8.504 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.308e-05/0.2712, allocations: 43.42 kB / 1.084 GB, free: 8.461 MB / 0.8419 GB Notification: Performance of SimCode: time 2.91e-07/0.2712, allocations: 0 / 1.084 GB, free: 8.461 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.341/5.612, allocations: 5.124 MB / 1.089 GB, free: 3.445 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.73/18.34, allocations: 9.609 kB / 1.089 GB, free: 3.438 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Media_Examples_PropyleneGlycolWaterProperties.fmu > Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches