Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",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.006366/0.006366, allocations: 99.75 kB / 15.73 MB, free: 6.039 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.001495/0.001495, allocations: 192.1 kB / 16.67 MB, free: 5.949 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.329/1.329, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.214/2.214, allocations: 390.3 MB / 0.6648 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001607/0.001608, allocations: 64.08 kB / 0.9504 GB, free: 8.199 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.792/0.7936, allocations: 140.4 MB / 1.087 GB, free: 5.289 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.001959/0.7956, allocations: 1.265 MB / 1.089 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003091/0.7987, allocations: 2.924 MB / 1.092 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.231e-05/0.7987, allocations: 3.938 kB / 1.092 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.943e-05/0.7988, allocations: 1.922 kB / 1.092 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.962e-05/0.7988, allocations: 8.484 kB / 1.092 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005002/0.7993, allocations: 99.83 kB / 1.092 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.223e-05/0.7994, allocations: 43.91 kB / 1.092 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.452e-05/0.7994, allocations: 3.078 kB / 1.092 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004483/0.7999, allocations: 156.1 kB / 1.092 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.464e-05/0.8, allocations: 14.2 kB / 1.092 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.027e-05/0.8, allocations: 1.531 kB / 1.092 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001562/0.8001, allocations: 66.88 kB / 1.092 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.769e-05/0.8002, allocations: 8.125 kB / 1.092 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.878e-05/0.8002, allocations: 12.61 kB / 1.092 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000177/0.8004, allocations: 64.34 kB / 1.092 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.8004, allocations: 4.844 kB / 1.092 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.223e-06/0.8004, allocations: 0 / 1.092 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.431e-06/0.8004, allocations: 0 / 1.092 GB, free: 2.102 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003425/0.8008, allocations: 351.4 kB / 1.092 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.8008, allocations: 9.469 kB / 1.092 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.909e-05/0.8008, allocations: 33.55 kB / 1.092 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.696e-05/0.8009, allocations: 11.88 kB / 1.092 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.091e-05/0.801, allocations: 162.4 kB / 1.093 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.801, allocations: 6.281 kB / 1.093 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.964e-05/0.801, allocations: 8.203 kB / 1.093 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.8012, allocations: 58.03 kB / 1.093 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.8012, allocations: 0 / 1.093 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.8012, allocations: 1 kB / 1.093 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.8012, allocations: 4.656 kB / 1.093 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.367e-05/0.8013, allocations: 24.03 kB / 1.093 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001432/0.8014, allocations: 163.6 kB / 1.093 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.995e-05/0.8015, allocations: 52.75 kB / 1.093 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.656e-05/0.8016, allocations: 22.77 kB / 1.093 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005992/0.8022, allocations: 0.5949 MB / 1.093 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.521e-05/0.8022, allocations: 31.69 kB / 1.093 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.8022, allocations: 4.688 kB / 1.093 GB, free: 0.5039 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0005614/0.8028, allocations: 304.3 kB / 1.094 GB, free: 224 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.33e-05/0.8028, allocations: 53.14 kB / 1.094 GB, free: 160 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.966e-05/0.8029, allocations: 111.8 kB / 1.094 GB, free: 44 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.868e-06/0.8029, allocations: 26.64 kB / 1.094 GB, free: 12 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.884e-05/0.803, allocations: 93.48 kB / 1.094 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.038e-05/0.803, allocations: 22.61 kB / 1.094 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.156e-05/0.803, allocations: 26.72 kB / 1.094 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.8031, allocations: 321.8 kB / 1.094 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.353e-05/0.8032, allocations: 14.41 kB / 1.094 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.691e-05/0.8032, allocations: 48.97 kB / 1.094 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.62e-05/0.8033, allocations: 76.64 kB / 1.095 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.8033, allocations: 0.7812 kB / 1.095 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001519/0.8035, allocations: 98.39 kB / 1.095 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.8035, allocations: 5.75 kB / 1.095 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.8035, allocations: 1.531 kB / 1.095 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.8036, allocations: 6.828 kB / 1.095 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.317e-05/0.8037, allocations: 18.12 kB / 1.095 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.8037, allocations: 7.078 kB / 1.095 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.061e-05/0.8037, allocations: 5.406 kB / 1.095 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.8037, allocations: 4.594 kB / 1.095 GB, free: 15.36 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * Array equations: 0 * 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.691e-05/0.8038, allocations: 121.3 kB / 1.095 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.084e-05/0.8039, allocations: 7.609 kB / 1.095 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.989e-05/0.8039, allocations: 9.625 kB / 1.095 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.8039, allocations: 0.8438 kB / 1.095 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.8039, allocations: 0.7812 kB / 1.095 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.8039, allocations: 4.641 kB / 1.095 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002606/0.8042, allocations: 181.5 kB / 1.095 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.8042, allocations: 0.7031 kB / 1.095 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.564e-05/0.8043, allocations: 15.31 kB / 1.095 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.8043, allocations: 0.7188 kB / 1.095 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.8043, allocations: 1.859 kB / 1.095 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.8043, allocations: 0 / 1.095 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.8043, allocations: 0.8438 kB / 1.095 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001836/0.8045, allocations: 175.4 kB / 1.095 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 5.794e-05/0.8046, allocations: 94.3 kB / 1.095 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.8046, allocations: 1.359 kB / 1.095 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.8047, allocations: 2.828 kB / 1.095 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.159e-05/0.8048, allocations: 7.688 kB / 1.095 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.8048, allocations: 3.375 kB / 1.095 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 3.459e-05/0.8048, allocations: 82.42 kB / 1.095 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8048, allocations: 0.9062 kB / 1.095 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002393/0.8051, allocations: 9.906 kB / 1.095 GB, free: 14.68 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * Array equations: 0 * 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.0004074/0.8055, allocations: 0.7099 MB / 1.096 GB, free: 14 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001123/0.8056, allocations: 47.2 kB / 1.096 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.8056, allocations: 0 / 1.096 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.933e-05/0.8056, allocations: 17.34 kB / 1.096 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.8059, allocations: 18.66 kB / 1.096 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/0.8074, allocations: 1.533 MB / 1.098 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/0.8077, allocations: 0.6863 MB / 1.098 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.997e-05/0.8077, allocations: 5.75 kB / 1.098 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.473e-05/0.8078, allocations: 19.41 kB / 1.098 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of SimCode: time 2.4e-07/0.8078, allocations: 0 / 1.098 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01808/0.8259, allocations: 1.667 MB / 1.1 GB, free: 11.4 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.28/8.106, allocations: 2.953 kB / 1.1 GB, free: 11.4 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches