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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.000862/0.000862, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005123/0.005123, allocations: 171.4 kB / 16.27 MB, free: 6.32 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.272/1.272, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.161/2.161, allocations: 390.9 MB / 0.6664 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003677/0.000368, allocations: 8 kB / 0.8161 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6027/0.6031, allocations: 142.4 MB / 0.9552 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.001033/0.6042, allocations: 0.9901 MB / 0.9561 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002705/0.6069, allocations: 2.89 MB / 0.9589 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.418e-05/0.6069, allocations: 0 / 0.9589 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.276e-05/0.6069, allocations: 0 / 0.9589 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.307e-05/0.607, allocations: 9.297 kB / 0.959 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003738/0.6074, allocations: 85.88 kB / 0.959 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.413e-05/0.6074, allocations: 42.02 kB / 0.9591 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.206e-05/0.6075, allocations: 2.312 kB / 0.9591 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000356/0.6078, allocations: 155.1 kB / 0.9592 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.261e-05/0.6079, allocations: 13.39 kB / 0.9592 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.448e-06/0.6079, allocations: 1.781 kB / 0.9592 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001187/0.608, allocations: 60.59 kB / 0.9593 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.332e-05/0.608, allocations: 16.02 kB / 0.9593 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.817e-05/0.6081, allocations: 35.38 kB / 0.9593 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000134/0.6082, allocations: 70.27 kB / 0.9594 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.6082, allocations: 0 / 0.9594 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.051e-06/0.6082, allocations: 4 kB / 0.9594 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.6082, allocations: 1.375 kB / 0.9594 GB, free: 4.195 MB / 0.7169 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.0002677/0.6085, allocations: 334.5 kB / 0.9597 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.6086, allocations: 9.625 kB / 0.9597 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.846e-05/0.6086, allocations: 36.11 kB / 0.9598 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.521e-05/0.6086, allocations: 15.53 kB / 0.9598 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.804e-05/0.6087, allocations: 161.8 kB / 0.9599 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.6087, allocations: 5.75 kB / 0.96 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/0.6087, allocations: 3.125 kB / 0.96 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/0.6089, allocations: 61.98 kB / 0.96 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.6089, allocations: 1.375 kB / 0.96 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.799e-06/0.6089, allocations: 3.938 kB / 0.96 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.6089, allocations: 1.375 kB / 0.96 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.519e-05/0.6089, allocations: 17.61 kB / 0.96 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001179/0.6091, allocations: 161.9 kB / 0.9602 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.305e-05/0.6091, allocations: 48.56 kB / 0.9602 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.539e-05/0.6092, allocations: 23.72 kB / 0.9603 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005057/0.6097, allocations: 0.6038 MB / 0.9609 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.414e-05/0.6097, allocations: 31.94 kB / 0.9609 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.6097, allocations: 3.938 kB / 0.9609 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004588/0.6102, allocations: 294.5 kB / 0.9612 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.166e-05/0.6102, allocations: 52.78 kB / 0.9612 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.423e-05/0.6103, allocations: 109.9 kB / 0.9613 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.698e-06/0.6103, allocations: 27.08 kB / 0.9613 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.304e-05/0.6103, allocations: 89.36 kB / 0.9614 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.369e-05/0.6103, allocations: 30.42 kB / 0.9615 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.171e-05/0.6103, allocations: 17.84 kB / 0.9615 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.864e-05/0.6104, allocations: 316.2 kB / 0.9618 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.411e-05/0.6104, allocations: 18.86 kB / 0.9618 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.004e-05/0.6105, allocations: 57.39 kB / 0.9619 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.599e-05/0.6105, allocations: 75.03 kB / 0.9619 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.6105, allocations: 0 / 0.9619 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001125/0.6107, allocations: 94.48 kB / 0.962 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.6107, allocations: 7.094 kB / 0.962 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.6107, allocations: 1.375 kB / 0.962 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.6107, allocations: 7.672 kB / 0.962 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.969e-05/0.6108, allocations: 15.31 kB / 0.962 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.6108, allocations: 6.062 kB / 0.9621 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.639e-05/0.6108, allocations: 10.34 kB / 0.9621 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.595e-06/0.6108, allocations: 7.734 kB / 0.9621 GB, free: 1.371 MB / 0.7169 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 4.937e-05/0.6109, allocations: 112.8 kB / 0.9622 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.991e-05/0.6109, allocations: 7.422 kB / 0.9622 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.619e-05/0.611, allocations: 7.969 kB / 0.9622 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.611, allocations: 1.031 kB / 0.9622 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.611, allocations: 0.9375 kB / 0.9622 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.611, allocations: 3.938 kB / 0.9622 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001796/0.6112, allocations: 178.1 kB / 0.9624 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.6112, allocations: 0 / 0.9624 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.003e-05/0.6113, allocations: 13.94 kB / 0.9624 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.6113, allocations: 4 kB / 0.9624 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.6113, allocations: 5.359 kB / 0.9624 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.6113, allocations: 7.922 kB / 0.9624 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.6113, allocations: 1.469 kB / 0.9624 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001292/0.6114, allocations: 172.2 kB / 0.9626 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.778e-05/0.6115, allocations: 87.27 kB / 0.9626 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.6115, allocations: 5.312 kB / 0.9626 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.698e-05/0.6116, allocations: 2.812 kB / 0.9627 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.51e-05/0.6116, allocations: 10.45 kB / 0.9627 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.6116, allocations: 5.375 kB / 0.9627 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.963e-05/0.6116, allocations: 81.97 kB / 0.9627 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6116, allocations: 0 / 0.9627 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002242/0.6119, allocations: 10.91 kB / 0.9628 GB, free: 0.6602 MB / 0.7169 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.0002869/0.6122, allocations: 0.713 MB / 0.9635 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001009/0.6123, allocations: 42.62 kB / 0.9635 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.6123, allocations: 0 / 0.9635 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.534e-05/0.6123, allocations: 23.77 kB / 0.9635 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002594/0.6126, allocations: 11.16 kB / 0.9635 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001278/0.6139, allocations: 1.582 MB / 0.9651 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002157/0.6141, allocations: 0.6825 MB / 0.9657 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.504e-05/0.6142, allocations: 14.5 kB / 0.9658 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.404e-05/0.6142, allocations: 19.56 kB / 0.9658 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/0.6142, allocations: 0 / 0.9658 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.482/3.096, allocations: 1.449 MB / 0.9672 GB, free: 13 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001908/3.096, allocations: 208.1 kB / 0.9674 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.385/4.481, allocations: 0 / 0.9674 GB, free: 12.75 MB / 0.7325 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[5]=0.004000 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