Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_10_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_10_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.001823/0.001823, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001861/0.001861, allocations: 196.3 kB / 16.25 MB, free: 6.625 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.231/1.231, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.25/2.25, allocations: 437 MB / 0.7101 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 71.89 kB / 0.8688 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4918/0.4931, allocations: 151.6 MB / 1.017 GB, free: 2.66 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.001848/0.495, allocations: 1.338 MB / 1.018 GB, free: 1.312 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00273/0.4977, allocations: 2.899 MB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.431e-05/0.4977, allocations: 0 / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.521e-05/0.4977, allocations: 3.984 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.532e-05/0.4978, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003784/0.4982, allocations: 95.61 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.519e-05/0.4982, allocations: 39.91 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 2.961e-05/0.4983, allocations: 0 / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003492/0.4986, allocations: 151.5 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.54e-05/0.4987, allocations: 19.92 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.725e-06/0.4987, allocations: 0 / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.4988, allocations: 71.81 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.043e-05/0.4988, allocations: 7.984 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.467e-05/0.4989, allocations: 23.92 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.499, allocations: 66.11 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.499, allocations: 0 / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.372e-06/0.499, allocations: 0 / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.768e-06/0.499, allocations: 0 / 1.022 GB, free: 13.93 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000311/0.4993, allocations: 343.5 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.071e-05/0.4994, allocations: 15.97 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.033e-05/0.4994, allocations: 30.75 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.9e-05/0.4994, allocations: 8.844 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.944e-05/0.4995, allocations: 168.3 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.4995, allocations: 8.375 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.821e-05/0.4996, allocations: 4.359 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.4997, allocations: 57.61 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.4997, allocations: 4 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.4997, allocations: 0 / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.4997, allocations: 0 / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.406e-05/0.4997, allocations: 19.97 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001332/0.4999, allocations: 165.6 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.808e-05/0.5, allocations: 58.48 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.419e-05/0.5, allocations: 16.86 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005574/0.5006, allocations: 0.5987 MB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.5006, allocations: 34.55 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.5006, allocations: 4 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0004546/0.5011, allocations: 290.3 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.722e-05/0.5011, allocations: 59.34 kB / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.308e-05/0.5012, allocations: 101.8 kB / 1.023 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.5012, allocations: 29.64 kB / 1.023 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.63e-05/0.5012, allocations: 91.97 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.716e-05/0.5012, allocations: 27.69 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.41e-05/0.5013, allocations: 33.7 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.003e-05/0.5014, allocations: 314.8 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.282e-05/0.5014, allocations: 11.98 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.368e-05/0.5014, allocations: 49.16 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.2e-05/0.5015, allocations: 77.08 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.5015, allocations: 0 / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001306/0.5017, allocations: 89.55 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.918e-06/0.5017, allocations: 4 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.5017, allocations: 4.125 kB / 1.024 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.546e-06/0.5017, allocations: 4 kB / 1.024 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.979e-05/0.5018, allocations: 27.92 kB / 1.024 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.5018, allocations: 4 kB / 1.024 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.355e-05/0.5018, allocations: 4.375 kB / 1.024 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.5018, allocations: 4 kB / 1.024 GB, free: 10.79 MB / 0.7794 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 6.172e-05/0.5019, allocations: 122.2 kB / 1.024 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.5019, allocations: 7.906 kB / 1.024 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.227e-05/0.502, allocations: 7.969 kB / 1.024 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.502, allocations: 8 kB / 1.024 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.502, allocations: 3.938 kB / 1.024 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.502, allocations: 11.92 kB / 1.024 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001978/0.5022, allocations: 169.7 kB / 1.024 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.5022, allocations: 4.281 kB / 1.024 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.673e-05/0.5023, allocations: 12 kB / 1.024 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.5023, allocations: 0 / 1.024 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.5023, allocations: 0 / 1.024 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.5023, allocations: 0 / 1.024 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.5023, allocations: 7.938 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001401/0.5024, allocations: 183.4 kB / 1.025 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.152e-05/0.5025, allocations: 89.05 kB / 1.025 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.5025, allocations: 4 kB / 1.025 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.459e-05/0.5026, allocations: 0 / 1.025 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.419e-05/0.5026, allocations: 7.938 kB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.5026, allocations: 0 / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.737e-05/0.5027, allocations: 83.27 kB / 1.025 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5027, allocations: 0 / 1.025 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002169/0.5029, allocations: 20 kB / 1.025 GB, free: 9.969 MB / 0.7794 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.0003274/0.5032, allocations: 0.7007 MB / 1.026 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.064e-05/0.5033, allocations: 43.97 kB / 1.026 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.5033, allocations: 4.25 kB / 1.026 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.351e-05/0.5034, allocations: 15.98 kB / 1.026 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/0.5036, allocations: 12.33 kB / 1.026 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.5047, allocations: 1.536 MB / 1.027 GB, free: 7.523 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001775/0.5049, allocations: 0.6807 MB / 1.028 GB, free: 6.816 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.502e-05/0.505, allocations: 11.98 kB / 1.028 GB, free: 6.805 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.285e-05/0.505, allocations: 15.44 kB / 1.028 GB, free: 6.789 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.505, allocations: 0 / 1.028 GB, free: 6.789 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.189/3.694, allocations: 1.553 MB / 1.029 GB, free: 5.367 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002297/3.694, allocations: 214.5 kB / 1.03 GB, free: 5.109 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.283/5.977, allocations: 5.562 kB / 1.03 GB, free: 5.105 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_10_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[501]=1.000000 File[5]=0.004000 Error: Could not read variable der(cpCod) in file Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! " Variables in the reference:time,der(hLiqSym),der(hLiqCod),der(cpSym),der(cpCod),der(cvSym),der(cvCod) Variables in the result:T,cpCod,cpSym,cvCod,cvSym,der(T),der(cpSym),der(cvSym),der(hLiqCod),der(hLiqSym),hLiqCod,hLiqSym,time