Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_9_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.005959/0.005959, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001229/0.001229, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.448/1.448, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.438/2.438, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 62.5 kB / 0.9504 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.317, allocations: 140.4 MB / 1.088 GB, free: 1.984 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.007051/0.3241, allocations: 4.423 MB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003233/0.3273, allocations: 2.691 MB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001458/0.3275, allocations: 0 / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003227/0.3279, allocations: 51.62 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003668/0.3282, allocations: 95.34 kB / 1.095 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00141/0.3297, allocations: 0.4895 MB / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003844/0.3301, allocations: 239.9 kB / 1.095 GB, free: 9.969 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.183e-05/0.3301, allocations: 9.562 kB / 1.095 GB, free: 9.957 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001152/0.3313, allocations: 406.9 kB / 1.096 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001885/0.3315, allocations: 99.58 kB / 1.096 GB, free: 9.461 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.935e-05/0.3315, allocations: 8 kB / 1.096 GB, free: 9.453 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001044/0.3326, allocations: 489.9 kB / 1.096 GB, free: 8.977 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.031e-05/0.3327, allocations: 35.89 kB / 1.096 GB, free: 8.941 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.3328, allocations: 79.64 kB / 1.096 GB, free: 8.863 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007575/0.3336, allocations: 359.9 kB / 1.097 GB, free: 8.512 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.8e-06/0.3336, allocations: 0 / 1.097 GB, free: 8.512 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.472e-06/0.3336, allocations: 0 / 1.097 GB, free: 8.512 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.3336, allocations: 0 / 1.097 GB, free: 8.512 MB / 0.8575 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.0008647/0.3345, allocations: 0.4953 MB / 1.097 GB, free: 7.965 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.3345, allocations: 12.03 kB / 1.097 GB, free: 7.953 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.307e-05/0.3346, allocations: 46.73 kB / 1.097 GB, free: 7.898 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001898/0.3348, allocations: 28.73 kB / 1.097 GB, free: 7.871 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003324/0.3351, allocations: 208.1 kB / 1.097 GB, free: 7.629 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.3352, allocations: 12.7 kB / 1.097 GB, free: 7.617 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.606e-05/0.3352, allocations: 20.36 kB / 1.098 GB, free: 7.598 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004041/0.3356, allocations: 252.8 kB / 1.098 GB, free: 7.328 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.3356, allocations: 0 / 1.098 GB, free: 7.328 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.119e-05/0.3357, allocations: 12 kB / 1.098 GB, free: 7.316 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.479e-05/0.3357, allocations: 7.984 kB / 1.098 GB, free: 7.309 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005103/0.3362, allocations: 435.4 kB / 1.098 GB, free: 6.883 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001217/0.3375, allocations: 1.008 MB / 1.099 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002879/0.3378, allocations: 148.5 kB / 1.099 GB, free: 5.629 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.3379, allocations: 68.88 kB / 1.099 GB, free: 5.559 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001486/0.3394, allocations: 1.821 MB / 1.101 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.533e-05/0.3394, allocations: 46.44 kB / 1.101 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 1.543e-06/0.3394, allocations: 0 / 1.101 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.0003736/0.3398, allocations: 144.2 kB / 1.101 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.454e-05/0.3399, allocations: 63.41 kB / 1.101 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.34, allocations: 167.2 kB / 1.102 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.3401, allocations: 33.7 kB / 1.102 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9e-05/0.3402, allocations: 135.8 kB / 1.102 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.818e-05/0.3402, allocations: 51.28 kB / 1.102 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.262e-05/0.3403, allocations: 53.61 kB / 1.102 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.3404, allocations: 334.8 kB / 1.102 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.012e-05/0.3405, allocations: 35.98 kB / 1.102 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.3407, allocations: 139.2 kB / 1.102 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002353/0.3409, allocations: 205.5 kB / 1.103 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.3409, allocations: 0 / 1.103 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003449/0.3413, allocations: 219.5 kB / 1.103 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.3413, allocations: 5.562 kB / 1.103 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.3413, allocations: 4 kB / 1.103 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.448e-05/0.3413, allocations: 12.41 kB / 1.103 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001799/0.3415, allocations: 59.91 kB / 1.103 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.3415, allocations: 4 kB / 1.103 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.3417, allocations: 23.75 kB / 1.103 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.53e-05/0.3417, allocations: 16 kB / 1.103 GB, free: 1.496 MB / 0.8575 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.0001217/0.3418, allocations: 129.7 kB / 1.103 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.356e-05/0.3419, allocations: 15.89 kB / 1.103 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003558/0.3423, allocations: 158.8 kB / 1.103 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/0.3423, allocations: 3.938 kB / 1.103 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.3423, allocations: 0 / 1.103 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.3423, allocations: 4 kB / 1.103 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002845/0.3426, allocations: 221.5 kB / 1.103 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3426, allocations: 4 kB / 1.103 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.109e-05/0.3427, allocations: 23.98 kB / 1.103 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.3427, allocations: 4 kB / 1.103 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.3427, allocations: 0 / 1.103 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.3427, allocations: 7.875 kB / 1.103 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3427, allocations: 3.938 kB / 1.103 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002593/0.343, allocations: 219.3 kB / 1.104 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.3431, allocations: 108.8 kB / 1.104 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.561e-05/0.3432, allocations: 3.984 kB / 1.104 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002193/0.3434, allocations: 19.92 kB / 1.104 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.345e-05/0.3434, allocations: 4 kB / 1.104 GB, free: 500 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.406e-05/0.3434, allocations: 19.97 kB / 1.104 GB, free: 480 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.996e-05/0.3435, allocations: 124.9 kB / 1.104 GB, free: 356 kB / 0.8575 GB Notification: Performance of sort global known variables: time 2.51e-07/0.3435, allocations: 0 / 1.104 GB, free: 356 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003995/0.3439, allocations: 75.98 kB / 1.104 GB, free: 280 kB / 0.8575 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.0007608/0.3447, allocations: 0.8288 MB / 1.105 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002562/0.345, allocations: 124 kB / 1.105 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.345, allocations: 4 kB / 1.105 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 6.578e-05/0.3451, allocations: 43.92 kB / 1.105 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004455/0.3455, allocations: 56.52 kB / 1.105 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002432/0.348, allocations: 2.032 MB / 1.107 GB, free: 13 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/0.3483, allocations: 0.7129 MB / 1.108 GB, free: 12.26 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001672/0.3485, allocations: 53.67 kB / 1.108 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.652e-05/0.3485, allocations: 47.42 kB / 1.108 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of SimCode: time 5.51e-07/0.3485, allocations: 0 / 1.108 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02431/0.3729, allocations: 5.233 MB / 1.113 GB, free: 7.047 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.891/8.263, allocations: 3.062 kB / 1.113 GB, free: 7.047 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterProperties.fmu > Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches