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.006423/0.006423, allocations: 100.5 kB / 15.73 MB, free: 5.977 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.001353/0.001353, allocations: 197.2 kB / 16.67 MB, free: 5.914 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.399/1.399, 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.394/2.394, allocations: 390.3 MB / 0.6648 GB, free: 228 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 62.94 kB / 0.9504 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.302, allocations: 140.4 MB / 1.087 GB, free: 2.012 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002758/0.3049, allocations: 1.262 MB / 1.089 GB, free: 0.7383 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004579/0.3095, allocations: 2.92 MB / 1.092 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.413e-05/0.3095, allocations: 0 / 1.092 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.426e-05/0.3096, allocations: 7.938 kB / 1.092 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.225e-05/0.3097, allocations: 3.938 kB / 1.092 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006724/0.3103, allocations: 103.5 kB / 1.092 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.3105, allocations: 35.91 kB / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.275e-05/0.3105, allocations: 7.938 kB / 1.092 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005668/0.3111, allocations: 159.5 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.51e-05/0.3112, allocations: 15.92 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.196e-05/0.3112, allocations: 4 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002085/0.3114, allocations: 67.83 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.826e-05/0.3114, allocations: 11.97 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.213e-05/0.3115, allocations: 11.94 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002009/0.3117, allocations: 70.66 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3117, allocations: 0 / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3117, allocations: 0 / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.157e-05/0.3117, allocations: 0 / 1.092 GB, free: 13.32 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.0004769/0.3122, allocations: 344.3 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.3123, allocations: 16.03 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.243e-05/0.3123, allocations: 34.73 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.405e-05/0.3123, allocations: 4.938 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.3125, allocations: 160.4 kB / 1.093 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.3125, allocations: 4.375 kB / 1.093 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.874e-05/0.3125, allocations: 4.375 kB / 1.093 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.3127, allocations: 61.55 kB / 1.093 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.3127, allocations: 3.984 kB / 1.093 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.3127, allocations: 4 kB / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.3127, allocations: 7.938 kB / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.858e-05/0.3128, allocations: 19.98 kB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001763/0.313, allocations: 157.7 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.795e-05/0.3131, allocations: 54.56 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.209e-05/0.3131, allocations: 25.02 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008087/0.3139, allocations: 0.5985 MB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.314, allocations: 34.56 kB / 1.093 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.314, allocations: 3.938 kB / 1.093 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0006778/0.3147, allocations: 294.2 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.3147, allocations: 51.41 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.624e-05/0.3148, allocations: 109.8 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.3149, allocations: 29.7 kB / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.08e-05/0.3149, allocations: 88.12 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.426e-05/0.315, allocations: 35.53 kB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.909e-05/0.315, allocations: 21.72 kB / 1.094 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.3152, allocations: 318.8 kB / 1.094 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.691e-05/0.3152, allocations: 12 kB / 1.094 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.196e-05/0.3153, allocations: 57.08 kB / 1.094 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.3154, allocations: 73.08 kB / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.3154, allocations: 0 / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001576/0.3156, allocations: 97.55 kB / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.3156, allocations: 4 kB / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.3156, allocations: 4 kB / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.3156, allocations: 0 / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.981e-05/0.3157, allocations: 19.94 kB / 1.095 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.3157, allocations: 4 kB / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.915e-05/0.3158, allocations: 3.938 kB / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.3158, allocations: 7.984 kB / 1.095 GB, free: 10.17 MB / 0.8575 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 0.0001083/0.3159, allocations: 118 kB / 1.095 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.247e-05/0.3159, allocations: 7.906 kB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.803e-05/0.316, allocations: 8.25 kB / 1.095 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.316, allocations: 0 / 1.095 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.316, allocations: 0 / 1.095 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.316, allocations: 11.92 kB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002682/0.3163, allocations: 173.7 kB / 1.095 GB, free: 9.801 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.3163, allocations: 0 / 1.095 GB, free: 9.801 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.367e-05/0.3164, allocations: 24.3 kB / 1.095 GB, free: 9.777 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.3164, allocations: 0 / 1.095 GB, free: 9.777 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.3164, allocations: 0 / 1.095 GB, free: 9.777 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.3164, allocations: 8 kB / 1.095 GB, free: 9.77 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.3164, allocations: 4 kB / 1.095 GB, free: 9.766 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002017/0.3166, allocations: 175.4 kB / 1.095 GB, free: 9.578 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.331e-05/0.3167, allocations: 85.02 kB / 1.095 GB, free: 9.477 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.3167, allocations: 4 kB / 1.095 GB, free: 9.473 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.3168, allocations: 4.031 kB / 1.095 GB, free: 9.469 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.016e-05/0.3169, allocations: 7.938 kB / 1.095 GB, free: 9.461 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.3169, allocations: 4 kB / 1.095 GB, free: 9.457 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.364e-05/0.3169, allocations: 87.22 kB / 1.095 GB, free: 9.371 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.91e-07/0.3169, allocations: 0 / 1.095 GB, free: 9.371 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002429/0.3172, allocations: 12 kB / 1.095 GB, free: 9.359 MB / 0.8575 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.0004969/0.3177, allocations: 0.705 MB / 1.096 GB, free: 8.625 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001372/0.3178, allocations: 51.95 kB / 1.096 GB, free: 8.574 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3178, allocations: 0 / 1.096 GB, free: 8.574 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.514e-05/0.3179, allocations: 15.94 kB / 1.096 GB, free: 8.559 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.3182, allocations: 11.88 kB / 1.096 GB, free: 8.547 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001582/0.3198, allocations: 1.532 MB / 1.098 GB, free: 6.906 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000277/0.3201, allocations: 0.6884 MB / 1.098 GB, free: 6.191 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.806e-05/0.3202, allocations: 8 kB / 1.098 GB, free: 6.184 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.109e-05/0.3202, allocations: 11.44 kB / 1.098 GB, free: 6.172 MB / 0.8575 GB Notification: Performance of SimCode: time 2e-07/0.3202, allocations: 0 / 1.098 GB, free: 6.172 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01952/0.3397, allocations: 1.694 MB / 1.1 GB, free: 4.578 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.638/7.977, allocations: 7.938 kB / 1.1 GB, free: 4.57 MB / 0.8575 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/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) "Warning: Resultfile and Reference have different end time points! Reffile[501]=1.000000 File[2]=0.002000 Error: Could not read variable der(cpCod) in file Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_9_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