Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_latest_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.004186/0.004186, allocations: 96.42 kB / 15.73 MB, free: 5.988 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.001236/0.001236, allocations: 188.2 kB / 16.67 MB, free: 5.918 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.909/2.909, allocations: 482.4 MB / 0.7548 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 68.08 kB / 1.083 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.2748, allocations: 162.2 MB / 1.241 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002204/0.2771, allocations: 1.258 MB / 1.243 GB, free: 8.957 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003655/0.2807, allocations: 2.926 MB / 1.246 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.651e-05/0.2808, allocations: 0 / 1.246 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.397e-05/0.2808, allocations: 7.922 kB / 1.246 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.459e-05/0.2808, allocations: 7.938 kB / 1.246 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004169/0.2813, allocations: 95.55 kB / 1.246 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.874e-05/0.2813, allocations: 31.91 kB / 1.246 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 2.656e-05/0.2814, allocations: 8 kB / 1.246 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004315/0.2818, allocations: 163.5 kB / 1.246 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.995e-05/0.2819, allocations: 15.91 kB / 1.246 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.2819, allocations: 4 kB / 1.246 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001653/0.2821, allocations: 63.83 kB / 1.246 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.407e-05/0.2821, allocations: 4 kB / 1.246 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.961e-05/0.2821, allocations: 19.91 kB / 1.246 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001652/0.2823, allocations: 63.81 kB / 1.246 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.2823, allocations: 0 / 1.246 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2823, allocations: 0 / 1.246 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.2823, allocations: 4 kB / 1.246 GB, free: 5.531 MB / 0.9981 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.0004037/0.2827, allocations: 351.4 kB / 1.246 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.2828, allocations: 8.031 kB / 1.246 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.617e-05/0.2828, allocations: 30.75 kB / 1.246 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.661e-05/0.2828, allocations: 4.938 kB / 1.246 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.283, allocations: 168.4 kB / 1.247 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.283, allocations: 4.375 kB / 1.247 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.148e-05/0.283, allocations: 8.328 kB / 1.247 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.2831, allocations: 69.53 kB / 1.247 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.2831, allocations: 0 / 1.247 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.2832, allocations: 0 / 1.247 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.2832, allocations: 0 / 1.247 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.382e-05/0.2832, allocations: 19.98 kB / 1.247 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001718/0.2834, allocations: 161.7 kB / 1.247 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.782e-05/0.2835, allocations: 50.55 kB / 1.247 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.529e-05/0.2836, allocations: 28.78 kB / 1.247 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007118/0.2843, allocations: 0.6026 MB / 1.247 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.2843, allocations: 30.56 kB / 1.247 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.2843, allocations: 0 / 1.247 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0005535/0.2849, allocations: 298.3 kB / 1.248 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.2849, allocations: 59.34 kB / 1.248 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.71e-05/0.285, allocations: 101.8 kB / 1.248 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.285, allocations: 25.7 kB / 1.248 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.376e-05/0.2851, allocations: 92.08 kB / 1.248 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.205e-05/0.2851, allocations: 27.75 kB / 1.248 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.851e-05/0.2852, allocations: 25.7 kB / 1.248 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.2853, allocations: 314.8 kB / 1.248 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.503e-05/0.2853, allocations: 19.98 kB / 1.248 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.638e-05/0.2854, allocations: 53.08 kB / 1.248 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001009/0.2855, allocations: 73.09 kB / 1.249 GB, free: 2.531 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.2855, allocations: 0 / 1.249 GB, free: 2.531 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001574/0.2857, allocations: 97.5 kB / 1.249 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.2857, allocations: 8 kB / 1.249 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.2857, allocations: 0 / 1.249 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.2857, allocations: 4 kB / 1.249 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.84e-05/0.2858, allocations: 23.92 kB / 1.249 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.2858, allocations: 0 / 1.249 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.012e-05/0.2859, allocations: 8.062 kB / 1.249 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.2859, allocations: 12 kB / 1.249 GB, free: 2.375 MB / 0.9981 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 8.202e-05/0.286, allocations: 110.4 kB / 1.249 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.618e-05/0.286, allocations: 0 / 1.249 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.623e-05/0.286, allocations: 7.969 kB / 1.249 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.286, allocations: 4 kB / 1.249 GB, free: 2.246 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2861, allocations: 3.984 kB / 1.249 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.2861, allocations: 3.938 kB / 1.249 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002624/0.2863, allocations: 177.7 kB / 1.249 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2863, allocations: 4 kB / 1.249 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.095e-05/0.2864, allocations: 16.38 kB / 1.249 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.2865, allocations: 0 / 1.249 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.2865, allocations: 7.938 kB / 1.249 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.2865, allocations: 4 kB / 1.249 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.2865, allocations: 0 / 1.249 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001838/0.2867, allocations: 171.7 kB / 1.249 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.914e-05/0.2867, allocations: 89.23 kB / 1.249 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.2867, allocations: 0 / 1.249 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.2869, allocations: 11.98 kB / 1.249 GB, free: 1.684 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.358e-05/0.2869, allocations: 3.938 kB / 1.249 GB, free: 1.68 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.2869, allocations: 7.984 kB / 1.249 GB, free: 1.672 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.523e-05/0.287, allocations: 83.22 kB / 1.249 GB, free: 1.59 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.287, allocations: 3.938 kB / 1.249 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002528/0.2872, allocations: 12 kB / 1.249 GB, free: 1.574 MB / 0.9981 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.000476/0.2877, allocations: 0.7126 MB / 1.25 GB, free: 0.832 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000102/0.2878, allocations: 44.2 kB / 1.25 GB, free: 0.7891 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2878, allocations: 0 / 1.25 GB, free: 0.7891 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.101e-05/0.2879, allocations: 23.91 kB / 1.25 GB, free: 0.7656 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002553/0.2881, allocations: 16.81 kB / 1.25 GB, free: 0.75 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.464/0.7521, allocations: 1.511 MB / 1.252 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.993e-05/0.7522, allocations: 0.6842 MB / 1.252 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 5.973e-05/0.7523, allocations: 8.594 kB / 1.252 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.518e-05/0.7523, allocations: 16.34 kB / 1.252 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of SimCode: time 6.41e-07/0.7523, allocations: 0.5938 kB / 1.252 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0225/0.7748, allocations: 1.676 MB / 1.254 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.719/8.494, allocations: 2.156 kB / 1.254 GB, free: 13.46 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches