Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.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.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",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.007434/0.007434, allocations: 99.02 kB / 15.73 MB, free: 6.047 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.002186/0.002186, allocations: 194.5 kB / 16.68 MB, free: 5.969 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.249/1.249, 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 11.1.0-maint.11.x/package.mo): time 2.465/2.465, allocations: 469.8 MB / 0.7425 GB, free: 7.277 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001648/0.001648, allocations: 63.89 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2465, allocations: 159.1 MB / 1.22 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001868/0.2484, allocations: 1.279 MB / 1.221 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002623/0.251, allocations: 2.489 MB / 1.224 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.778e-05/0.2511, allocations: 0 / 1.224 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.786e-05/0.2511, allocations: 3.938 kB / 1.224 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.017e-05/0.2511, allocations: 0 / 1.224 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004229/0.2515, allocations: 135.4 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.794e-05/0.2516, allocations: 47.77 kB / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 2.323e-05/0.2516, allocations: 0 / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.63e-05/0.2517, allocations: 12 kB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.058e-05/0.2517, allocations: 23.91 kB / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.064e-05/0.2518, allocations: 4 kB / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002543/0.252, allocations: 115.7 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.381e-05/0.252, allocations: 7.984 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.737e-05/0.2521, allocations: 15.92 kB / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001715/0.2522, allocations: 79.78 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.2523, allocations: 4 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.002e-06/0.2523, allocations: 0 / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.356e-06/0.2523, allocations: 0 / 1.224 GB, free: 10.09 MB / 0.9825 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.0003496/0.2526, allocations: 355.3 kB / 1.225 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 2.695e-05/0.2527, allocations: 8.031 kB / 1.225 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.53e-05/0.2527, allocations: 34.75 kB / 1.225 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001663/0.2529, allocations: 16.92 kB / 1.225 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.253, allocations: 164.3 kB / 1.225 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.417e-06/0.253, allocations: 384 / 1.225 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.93e-05/0.253, allocations: 16.31 kB / 1.225 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.2531, allocations: 76.17 kB / 1.225 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.2531, allocations: 0 / 1.225 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.814e-06/0.2532, allocations: 4 kB / 1.225 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.2532, allocations: 0 / 1.225 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.208e-05/0.2532, allocations: 11.94 kB / 1.225 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005021/0.2537, allocations: 462.9 kB / 1.225 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.2538, allocations: 83.53 kB / 1.225 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.092e-05/0.2539, allocations: 26.7 kB / 1.225 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.086e-05/0.2539, allocations: 4.078 kB / 1.225 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.2539, allocations: 38.5 kB / 1.225 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.2539, allocations: 0 / 1.225 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0005064/0.2544, allocations: 302.4 kB / 1.226 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.642e-05/0.2545, allocations: 114.8 kB / 1.226 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.206e-05/0.2546, allocations: 98.19 kB / 1.226 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.2546, allocations: 25.7 kB / 1.226 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.73e-05/0.2546, allocations: 84.09 kB / 1.226 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.197e-05/0.2547, allocations: 31.73 kB / 1.226 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.473e-05/0.2547, allocations: 25.72 kB / 1.226 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.2548, allocations: 322.8 kB / 1.226 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.225e-05/0.2549, allocations: 12 kB / 1.226 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.105e-05/0.2549, allocations: 57.08 kB / 1.227 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.636e-05/0.255, allocations: 81.25 kB / 1.227 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.255, allocations: 0 / 1.227 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001239/0.2551, allocations: 97.5 kB / 1.227 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.2552, allocations: 8 kB / 1.227 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.2552, allocations: 0 / 1.227 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/0.2552, allocations: 0 / 1.227 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.014e-05/0.2552, allocations: 23.98 kB / 1.227 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.2553, allocations: 3.938 kB / 1.227 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.164e-05/0.2553, allocations: 8.125 kB / 1.227 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.2553, allocations: 7.938 kB / 1.227 GB, free: 7.168 MB / 0.9825 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.101e-05/0.2554, allocations: 110.4 kB / 1.227 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.805e-05/0.2554, allocations: 4 kB / 1.227 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.143e-05/0.2555, allocations: 11.56 kB / 1.227 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.2555, allocations: 0 / 1.227 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.2555, allocations: 8 kB / 1.227 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.2555, allocations: 0 / 1.227 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003099/0.2558, allocations: 189.5 kB / 1.227 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2558, allocations: 4 kB / 1.227 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.596e-05/0.2559, allocations: 19.92 kB / 1.227 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.2559, allocations: 4 kB / 1.227 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-06/0.2559, allocations: 0 / 1.227 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2559, allocations: 0 / 1.227 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2559, allocations: 0 / 1.227 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002086/0.2561, allocations: 330 kB / 1.227 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.126e-05/0.2562, allocations: 89.09 kB / 1.227 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.025e-05/0.2562, allocations: 3.938 kB / 1.227 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.2564, allocations: 8 kB / 1.227 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.727e-05/0.2564, allocations: 11.88 kB / 1.227 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.2564, allocations: 0 / 1.227 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.465e-05/0.2564, allocations: 83.27 kB / 1.228 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2564, allocations: 0 / 1.228 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002716/0.2567, allocations: 16 kB / 1.228 GB, free: 6.203 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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.0004635/0.2572, allocations: 0.8676 MB / 1.228 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.455e-05/0.2573, allocations: 47.97 kB / 1.228 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2573, allocations: 0 / 1.228 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.748e-05/0.2573, allocations: 23.92 kB / 1.229 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003628/0.2577, allocations: 11.31 kB / 1.229 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001415/0.2591, allocations: 1.7 MB / 1.23 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/0.2594, allocations: 0.6846 MB / 1.231 GB, free: 2.699 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.841e-05/0.2595, allocations: 7.984 kB / 1.231 GB, free: 2.691 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.083e-05/0.2595, allocations: 19.44 kB / 1.231 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of SimCode: time 2.6e-07/0.2595, allocations: 3.938 kB / 1.231 GB, free: 2.668 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.473/5.732, allocations: 1.709 MB / 1.233 GB, free: 1.137 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.35/15.08, allocations: 13.09 kB / 1.233 GB, free: 1.125 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-08 Buildings_11_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[501]=1.000000 File[3]=0.002000 Error: Could not read variable der(cpCod) in file Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_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