Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_10_Buildings_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_10_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.0007662/0.0007663, allocations: 91.14 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.004914/0.004914, allocations: 173.3 kB / 16.26 MB, free: 6.613 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.386/1.386, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.395/2.395, allocations: 437.8 MB / 0.7121 GB, free: 7 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003142/0.0003143, allocations: 12 kB / 0.8729 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5975/0.5979, allocations: 153.8 MB / 1.023 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.004294/0.6022, allocations: 4.109 MB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002404/0.6046, allocations: 2.668 MB / 1.03 GB, free: 9.086 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.445e-05/0.6047, allocations: 0 / 1.03 GB, free: 9.086 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002182/0.6049, allocations: 39.75 kB / 1.03 GB, free: 9.047 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001956/0.6051, allocations: 95.47 kB / 1.03 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008223/0.6059, allocations: 445.7 kB / 1.03 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002554/0.6062, allocations: 315.6 kB / 1.031 GB, free: 8.211 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.166e-05/0.6063, allocations: 13.56 kB / 1.031 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007483/0.607, allocations: 403.9 kB / 1.031 GB, free: 7.801 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.6071, allocations: 91.61 kB / 1.031 GB, free: 7.711 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.6072, allocations: 8 kB / 1.031 GB, free: 7.703 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007561/0.6079, allocations: 495 kB / 1.032 GB, free: 7.219 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.976e-05/0.608, allocations: 39.89 kB / 1.032 GB, free: 7.18 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.181e-05/0.6081, allocations: 101.4 kB / 1.032 GB, free: 7.074 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004489/0.6085, allocations: 361.2 kB / 1.032 GB, free: 6.723 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.257e-06/0.6085, allocations: 0 / 1.032 GB, free: 6.723 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.322e-06/0.6086, allocations: 0 / 1.032 GB, free: 6.723 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.6086, allocations: 0 / 1.032 GB, free: 6.723 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.0005878/0.6092, allocations: 479.3 kB / 1.032 GB, free: 6.203 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.6092, allocations: 8.031 kB / 1.032 GB, free: 6.195 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.149e-05/0.6093, allocations: 50.73 kB / 1.033 GB, free: 6.137 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001275/0.6094, allocations: 16.84 kB / 1.033 GB, free: 6.121 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001878/0.6096, allocations: 220 kB / 1.033 GB, free: 5.867 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.6096, allocations: 12.64 kB / 1.033 GB, free: 5.855 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.024e-05/0.6096, allocations: 16.38 kB / 1.033 GB, free: 5.84 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003251/0.61, allocations: 249 kB / 1.033 GB, free: 5.574 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.61, allocations: 0 / 1.033 GB, free: 5.574 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.61, allocations: 11.94 kB / 1.033 GB, free: 5.562 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.27e-05/0.61, allocations: 7.938 kB / 1.033 GB, free: 5.555 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004223/0.6105, allocations: 428 kB / 1.033 GB, free: 5.137 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009107/0.6114, allocations: 1.004 MB / 1.034 GB, free: 4.039 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002539/0.6116, allocations: 168.6 kB / 1.035 GB, free: 3.867 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.46e-05/0.6117, allocations: 64.81 kB / 1.035 GB, free: 3.801 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001125/0.6129, allocations: 1.821 MB / 1.036 GB, free: 1.621 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.6129, allocations: 42.55 kB / 1.036 GB, free: 1.57 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.162e-06/0.6129, allocations: 0 / 1.036 GB, free: 1.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0002779/0.6132, allocations: 143.1 kB / 1.037 GB, free: 1.426 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.287e-05/0.6132, allocations: 51.41 kB / 1.037 GB, free: 1.363 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.6134, allocations: 177.3 kB / 1.037 GB, free: 1.176 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.6134, allocations: 25.7 kB / 1.037 GB, free: 1.145 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.134e-05/0.6135, allocations: 147.8 kB / 1.037 GB, free: 0.9961 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.888e-05/0.6135, allocations: 55.2 kB / 1.037 GB, free: 0.9414 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.521e-05/0.6136, allocations: 25.7 kB / 1.037 GB, free: 0.9102 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.035e-05/0.6137, allocations: 326.8 kB / 1.037 GB, free: 0.582 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.993e-05/0.6137, allocations: 35.98 kB / 1.037 GB, free: 0.5469 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.6138, allocations: 137.7 kB / 1.038 GB, free: 372 kB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001953/0.614, allocations: 199.9 kB / 1.038 GB, free: 124 kB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.6141, allocations: 0 / 1.038 GB, free: 124 kB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002911/0.6143, allocations: 209.2 kB / 1.038 GB, free: 15.91 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.6144, allocations: 8.469 kB / 1.038 GB, free: 15.9 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.6144, allocations: 8 kB / 1.038 GB, free: 15.89 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.6144, allocations: 7.938 kB / 1.038 GB, free: 15.89 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.6146, allocations: 51.91 kB / 1.038 GB, free: 15.84 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.6146, allocations: 7.938 kB / 1.038 GB, free: 15.83 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.6147, allocations: 35.62 kB / 1.038 GB, free: 15.79 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.164e-05/0.6147, allocations: 16 kB / 1.038 GB, free: 15.78 MB / 0.795 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.212e-05/0.6148, allocations: 129.8 kB / 1.038 GB, free: 15.64 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.772e-05/0.6149, allocations: 15.81 kB / 1.038 GB, free: 15.62 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002619/0.6151, allocations: 151 kB / 1.038 GB, free: 15.48 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.819e-06/0.6151, allocations: 7.938 kB / 1.038 GB, free: 15.47 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.6152, allocations: 0 / 1.038 GB, free: 15.47 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.6152, allocations: 0 / 1.038 GB, free: 15.47 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000212/0.6154, allocations: 221.4 kB / 1.039 GB, free: 15.2 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.6154, allocations: 0 / 1.039 GB, free: 15.2 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.44e-05/0.6155, allocations: 31.92 kB / 1.039 GB, free: 15.17 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.6155, allocations: 0 / 1.039 GB, free: 15.17 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.6155, allocations: 8 kB / 1.039 GB, free: 15.16 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.347e-05/0.6155, allocations: 3.938 kB / 1.039 GB, free: 15.16 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.6155, allocations: 4 kB / 1.039 GB, free: 15.16 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002007/0.6157, allocations: 212.8 kB / 1.039 GB, free: 14.93 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 7.482e-05/0.6158, allocations: 108.9 kB / 1.039 GB, free: 14.81 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.266e-05/0.6158, allocations: 4 kB / 1.039 GB, free: 14.8 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002117/0.6161, allocations: 23.92 kB / 1.039 GB, free: 14.78 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.399e-05/0.6161, allocations: 11.98 kB / 1.039 GB, free: 14.77 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.897e-05/0.6161, allocations: 19.92 kB / 1.039 GB, free: 14.75 MB / 0.795 GB Notification: Performance of sorting global known variables: time 7.293e-05/0.6162, allocations: 118.3 kB / 1.039 GB, free: 14.64 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6162, allocations: 4 kB / 1.039 GB, free: 14.63 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003435/0.6165, allocations: 83.83 kB / 1.039 GB, free: 14.55 MB / 0.795 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.0005888/0.6171, allocations: 0.8266 MB / 1.04 GB, free: 13.7 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001988/0.6173, allocations: 116.5 kB / 1.04 GB, free: 13.59 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.6174, allocations: 3.938 kB / 1.04 GB, free: 13.58 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 5.842e-05/0.6174, allocations: 46.27 kB / 1.04 GB, free: 13.54 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004282/0.6179, allocations: 55.89 kB / 1.04 GB, free: 13.48 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001906/0.6198, allocations: 2.126 MB / 1.042 GB, free: 11.19 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/0.62, allocations: 0.7131 MB / 1.043 GB, free: 10.45 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001489/0.6202, allocations: 37.81 kB / 1.043 GB, free: 10.41 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.769e-05/0.6202, allocations: 47.42 kB / 1.043 GB, free: 10.36 MB / 0.795 GB Notification: Performance of SimCode: time 2.9e-07/0.6202, allocations: 0 / 1.043 GB, free: 10.36 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.195/1.815, allocations: 4.852 MB / 1.048 GB, free: 5.676 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003157/1.815, allocations: 214.8 kB / 1.048 GB, free: 5.41 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.763/3.578, allocations: 0 / 1.048 GB, free: 5.41 MB / 0.795 GB (rm -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Media_Examples_PropyleneGlycolWaterProperties.fmu > Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches