Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_11_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.001176/0.001176, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 191.1 kB / 16.53 MB, free: 6.391 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.246/1.246, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.468/2.468, allocations: 469.8 MB / 0.7424 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.003069/0.003069, allocations: 72.06 kB / 0.9086 GB, free: 34.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2448, allocations: 159.2 MB / 1.064 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002241/0.2471, allocations: 1.264 MB / 1.065 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003538/0.2506, allocations: 2.928 MB / 1.068 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.082e-05/0.2507, allocations: 0 / 1.068 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.421e-05/0.2507, allocations: 3.938 kB / 1.068 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.75e-05/0.2508, allocations: 4 kB / 1.068 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004337/0.2512, allocations: 107.5 kB / 1.068 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.3e-05/0.2513, allocations: 35.84 kB / 1.068 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 2.948e-05/0.2513, allocations: 7.938 kB / 1.068 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004173/0.2517, allocations: 155.5 kB / 1.068 GB, free: 9.648 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.605e-05/0.2518, allocations: 15.92 kB / 1.068 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.098e-05/0.2518, allocations: 4 kB / 1.068 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000148/0.2519, allocations: 59.89 kB / 1.069 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.796e-05/0.252, allocations: 15.97 kB / 1.069 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.81e-05/0.252, allocations: 11.94 kB / 1.069 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001521/0.2522, allocations: 72.02 kB / 1.069 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2522, allocations: 0 / 1.069 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2522, allocations: 0 / 1.069 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.2522, allocations: 3.984 kB / 1.069 GB, free: 9.469 MB / 0.8262 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.000388/0.2526, allocations: 347.4 kB / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.2526, allocations: 12.03 kB / 1.069 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.326e-05/0.2527, allocations: 30.75 kB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.074e-05/0.2527, allocations: 8.938 kB / 1.069 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.2528, allocations: 168.4 kB / 1.069 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.2528, allocations: 4.375 kB / 1.069 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.752e-05/0.2528, allocations: 4.375 kB / 1.069 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.253, allocations: 57.61 kB / 1.069 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.253, allocations: 0 / 1.069 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.253, allocations: 7.922 kB / 1.069 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.852e-06/0.253, allocations: 0 / 1.069 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.765e-05/0.2531, allocations: 19.98 kB / 1.069 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001683/0.2532, allocations: 169.7 kB / 1.069 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.666e-05/0.2533, allocations: 42.56 kB / 1.069 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.983e-05/0.2534, allocations: 21.08 kB / 1.069 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006573/0.254, allocations: 0.6023 MB / 1.07 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.2541, allocations: 34.56 kB / 1.07 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.2541, allocations: 3.938 kB / 1.07 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0005104/0.2546, allocations: 294.2 kB / 1.07 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/0.2546, allocations: 55.41 kB / 1.07 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.938e-05/0.2547, allocations: 105.8 kB / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.2547, allocations: 25.7 kB / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.276e-05/0.2548, allocations: 88.05 kB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.293e-05/0.2548, allocations: 35.62 kB / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.606e-05/0.2549, allocations: 25.7 kB / 1.071 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.255, allocations: 314.8 kB / 1.071 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.171e-05/0.255, allocations: 15.98 kB / 1.071 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.238e-05/0.2551, allocations: 49.14 kB / 1.071 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.704e-05/0.2552, allocations: 80.97 kB / 1.071 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.2552, allocations: 0 / 1.071 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000128/0.2553, allocations: 93.98 kB / 1.071 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.2553, allocations: 4.125 kB / 1.071 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-06/0.2553, allocations: 8 kB / 1.071 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.2553, allocations: 0 / 1.071 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.373e-05/0.2554, allocations: 23.98 kB / 1.071 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.894e-06/0.2554, allocations: 7.938 kB / 1.071 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.53e-05/0.2555, allocations: 7.938 kB / 1.071 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.2555, allocations: 4 kB / 1.071 GB, free: 6.32 MB / 0.8262 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 7.351e-05/0.2556, allocations: 109.8 kB / 1.071 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.905e-05/0.2556, allocations: 11.91 kB / 1.071 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.508e-05/0.2556, allocations: 15.95 kB / 1.071 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.2556, allocations: 288 / 1.071 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.2556, allocations: 4 kB / 1.071 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2556, allocations: 3.938 kB / 1.071 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002263/0.2559, allocations: 169.7 kB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.2559, allocations: 3.984 kB / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.663e-05/0.256, allocations: 15.94 kB / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.256, allocations: 0 / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.256, allocations: 0 / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.241e-06/0.256, allocations: 11.92 kB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.256, allocations: 0 / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001651/0.2562, allocations: 175.4 kB / 1.072 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.251e-05/0.2562, allocations: 89.14 kB / 1.072 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.081e-05/0.2563, allocations: 0 / 1.072 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.152e-05/0.2563, allocations: 0 / 1.072 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.576e-05/0.2564, allocations: 11.92 kB / 1.072 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.2564, allocations: 4 kB / 1.072 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.761e-05/0.2564, allocations: 79.28 kB / 1.072 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2564, allocations: 4 kB / 1.072 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002173/0.2567, allocations: 12 kB / 1.072 GB, free: 5.52 MB / 0.8262 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.0004402/0.2571, allocations: 0.7045 MB / 1.073 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001036/0.2572, allocations: 44.16 kB / 1.073 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2572, allocations: 4.062 kB / 1.073 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.578e-05/0.2572, allocations: 23.92 kB / 1.073 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/0.2575, allocations: 13.28 kB / 1.073 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.2588, allocations: 1.524 MB / 1.074 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/0.2591, allocations: 0.6807 MB / 1.075 GB, free: 2.363 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.344e-05/0.2591, allocations: 11.98 kB / 1.075 GB, free: 2.352 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.326e-05/0.2592, allocations: 19.42 kB / 1.075 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.2592, allocations: 0 / 1.075 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.445/4.704, allocations: 1.635 MB / 1.077 GB, free: 0.7852 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.38/18.09, allocations: 17.14 kB / 1.077 GB, free: 0.7734 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-08 Buildings_11_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_11_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