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.00804/0.00804, allocations: 101.6 kB / 15.73 MB, free: 6.047 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.001938/0.001938, allocations: 196.4 kB / 16.67 MB, free: 5.977 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 4.18 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.44/2.44, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 58.59 kB / 0.9504 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.2842, allocations: 140.4 MB / 1.087 GB, free: 1.945 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.006181/0.2905, allocations: 4.437 MB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002892/0.2934, allocations: 2.691 MB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000135/0.2935, allocations: 0 / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003157/0.2939, allocations: 51.67 kB / 1.095 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003339/0.2942, allocations: 95.36 kB / 1.095 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001344/0.2956, allocations: 496.2 kB / 1.095 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003179/0.2959, allocations: 236 kB / 1.095 GB, free: 9.926 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.444e-05/0.296, allocations: 5.562 kB / 1.095 GB, free: 9.918 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001085/0.2971, allocations: 419.9 kB / 1.096 GB, free: 9.508 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001776/0.2973, allocations: 91.64 kB / 1.096 GB, free: 9.418 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.968e-05/0.2973, allocations: 8 kB / 1.096 GB, free: 9.41 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001184/0.2985, allocations: 489.9 kB / 1.096 GB, free: 8.934 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.145e-05/0.2986, allocations: 31.89 kB / 1.096 GB, free: 8.902 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001212/0.2987, allocations: 87.58 kB / 1.096 GB, free: 8.816 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000848/0.2996, allocations: 356 kB / 1.097 GB, free: 8.469 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.2996, allocations: 0 / 1.097 GB, free: 8.469 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.293e-06/0.2996, allocations: 0 / 1.097 GB, free: 8.469 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.538e-06/0.2996, allocations: 0 / 1.097 GB, free: 8.469 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.0009216/0.3005, allocations: 0.4968 MB / 1.097 GB, free: 7.922 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.3006, allocations: 8.031 kB / 1.097 GB, free: 7.914 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.489e-05/0.3007, allocations: 54.73 kB / 1.097 GB, free: 7.852 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001856/0.3008, allocations: 20.75 kB / 1.097 GB, free: 7.832 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000336/0.3012, allocations: 212 kB / 1.097 GB, free: 7.586 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.3012, allocations: 20.64 kB / 1.098 GB, free: 7.566 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.784e-05/0.3013, allocations: 16.38 kB / 1.098 GB, free: 7.551 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003938/0.3017, allocations: 248.9 kB / 1.098 GB, free: 7.285 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.3017, allocations: 4 kB / 1.098 GB, free: 7.281 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.421e-05/0.3017, allocations: 4 kB / 1.098 GB, free: 7.277 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.274e-05/0.3017, allocations: 15.94 kB / 1.098 GB, free: 7.262 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004757/0.3022, allocations: 427.4 kB / 1.098 GB, free: 6.844 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001178/0.3034, allocations: 1.012 MB / 1.099 GB, free: 5.738 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003202/0.3037, allocations: 155.1 kB / 1.099 GB, free: 5.578 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.3039, allocations: 72.8 kB / 1.099 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001423/0.3053, allocations: 1.821 MB / 1.101 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.3053, allocations: 46.48 kB / 1.101 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 1.893e-06/0.3053, allocations: 0 / 1.101 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.0003459/0.3057, allocations: 141.4 kB / 1.101 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/0.3057, allocations: 51.41 kB / 1.101 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.3059, allocations: 179.1 kB / 1.102 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.3059, allocations: 25.7 kB / 1.102 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.346e-05/0.306, allocations: 143.8 kB / 1.102 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.794e-05/0.3061, allocations: 59.28 kB / 1.102 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.538e-05/0.3061, allocations: 53.61 kB / 1.102 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.3063, allocations: 322.8 kB / 1.102 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.253e-05/0.3063, allocations: 35.98 kB / 1.102 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.3065, allocations: 147.1 kB / 1.102 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002482/0.3067, allocations: 196.7 kB / 1.103 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.3067, allocations: 4 kB / 1.103 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003456/0.3071, allocations: 213.4 kB / 1.103 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.3071, allocations: 11.98 kB / 1.103 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.3071, allocations: 4 kB / 1.103 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/0.3072, allocations: 7.938 kB / 1.103 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.3073, allocations: 51.92 kB / 1.103 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.3074, allocations: 11.94 kB / 1.103 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/0.3075, allocations: 23.75 kB / 1.103 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.024e-05/0.3075, allocations: 15.98 kB / 1.103 GB, free: 1.445 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.0001227/0.3077, allocations: 133.9 kB / 1.103 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.97e-05/0.3077, allocations: 11.91 kB / 1.103 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002958/0.308, allocations: 158.8 kB / 1.103 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.308, allocations: 7.938 kB / 1.103 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.308, allocations: 0 / 1.103 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.308, allocations: 3.984 kB / 1.103 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002385/0.3083, allocations: 213.5 kB / 1.103 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3083, allocations: 0 / 1.103 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.858e-05/0.3084, allocations: 27.92 kB / 1.103 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.3084, allocations: 0 / 1.103 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.3084, allocations: 12 kB / 1.103 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.3084, allocations: 3.938 kB / 1.103 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3084, allocations: 0 / 1.103 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002514/0.3087, allocations: 214.4 kB / 1.104 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.219e-05/0.3088, allocations: 108.8 kB / 1.104 GB, free: 488 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.739e-05/0.3088, allocations: 8 kB / 1.104 GB, free: 480 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000208/0.309, allocations: 15.92 kB / 1.104 GB, free: 464 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.062e-05/0.3091, allocations: 19.98 kB / 1.104 GB, free: 444 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.15e-05/0.3091, allocations: 15.94 kB / 1.104 GB, free: 428 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.538e-05/0.3092, allocations: 116.9 kB / 1.104 GB, free: 312 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3092, allocations: 0 / 1.104 GB, free: 312 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004396/0.3097, allocations: 83.98 kB / 1.104 GB, free: 228 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.0007997/0.3105, allocations: 0.8259 MB / 1.105 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002672/0.3108, allocations: 119.7 kB / 1.105 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3108, allocations: 0 / 1.105 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 6.893e-05/0.3108, allocations: 48.84 kB / 1.105 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004455/0.3113, allocations: 55.83 kB / 1.105 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002376/0.3137, allocations: 2.032 MB / 1.107 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.314, allocations: 0.7168 MB / 1.108 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001622/0.3142, allocations: 49.69 kB / 1.108 GB, free: 12.15 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.432e-05/0.3142, allocations: 43.42 kB / 1.108 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of SimCode: time 2.5e-07/0.3142, allocations: 0 / 1.108 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02291/0.3372, allocations: 5.183 MB / 1.113 GB, free: 7.059 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.523/7.86, allocations: 8.641 kB / 1.113 GB, free: 7.051 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterProperties.fmu > Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.csv","/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