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.001368/0.001372, 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.001379/0.001379, allocations: 192.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.268/1.268, allocations: 222.9 MB / 240.2 MB, free: 4.375 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.48/2.48, allocations: 469.8 MB / 0.7424 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001698/0.001699, allocations: 69.44 kB / 0.9087 GB, free: 34.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.242, allocations: 159.2 MB / 1.064 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002175/0.2442, allocations: 1.264 MB / 1.065 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002851/0.2471, allocations: 2.489 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.984e-05/0.2471, allocations: 0 / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.609e-05/0.2471, allocations: 3.938 kB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.677e-05/0.2472, allocations: 0 / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004817/0.2477, allocations: 139.4 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.129e-05/0.2477, allocations: 39.78 kB / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 2.857e-05/0.2478, allocations: 3.984 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.467e-05/0.2478, allocations: 16 kB / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.811e-05/0.2479, allocations: 15.91 kB / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.12e-05/0.2479, allocations: 4 kB / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002724/0.2482, allocations: 119.7 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.493e-05/0.2482, allocations: 11.98 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.624e-05/0.2482, allocations: 19.94 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001771/0.2484, allocations: 84.05 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.2484, allocations: 0 / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.002e-06/0.2484, allocations: 0 / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.2484, allocations: 0 / 1.068 GB, free: 10.01 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.0003739/0.2488, allocations: 347.5 kB / 1.069 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.2489, allocations: 8.031 kB / 1.069 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.687e-05/0.2489, allocations: 38.73 kB / 1.069 GB, free: 9.566 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001733/0.2491, allocations: 16.84 kB / 1.069 GB, free: 9.551 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.2492, allocations: 164.4 kB / 1.069 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.2492, allocations: 4.375 kB / 1.069 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.617e-05/0.2492, allocations: 12.11 kB / 1.069 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.2494, allocations: 68.2 kB / 1.069 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.2494, allocations: 0 / 1.069 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.2494, allocations: 4 kB / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.2494, allocations: 3.938 kB / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.08e-05/0.2494, allocations: 19.92 kB / 1.069 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005485/0.25, allocations: 466.9 kB / 1.069 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.2501, allocations: 71.66 kB / 1.069 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.477e-05/0.2502, allocations: 30.69 kB / 1.069 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.261e-06/0.2502, allocations: 0 / 1.069 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.2502, allocations: 34.5 kB / 1.069 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 9.12e-07/0.2502, allocations: 0 / 1.069 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0005608/0.2508, allocations: 310.2 kB / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.839e-05/0.2509, allocations: 106.8 kB / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.604e-05/0.2509, allocations: 101.8 kB / 1.07 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.251, allocations: 25.7 kB / 1.07 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.029e-05/0.251, allocations: 84.05 kB / 1.07 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/0.251, allocations: 31.55 kB / 1.07 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.933e-05/0.2511, allocations: 29.97 kB / 1.07 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.2512, allocations: 322.8 kB / 1.07 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.511e-05/0.2512, allocations: 12 kB / 1.07 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.742e-05/0.2513, allocations: 57.08 kB / 1.07 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.202e-05/0.2514, allocations: 69.09 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.2514, allocations: 3.984 kB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001235/0.2515, allocations: 85.56 kB / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.2515, allocations: 8 kB / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.2515, allocations: 3.984 kB / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.2516, allocations: 8.125 kB / 1.071 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-05/0.2516, allocations: 20 kB / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.2517, allocations: 7.938 kB / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.021e-05/0.2517, allocations: 11.94 kB / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.2517, allocations: 4 kB / 1.071 GB, free: 7.098 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.595e-05/0.2518, allocations: 117.8 kB / 1.071 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.783e-05/0.2519, allocations: 11.84 kB / 1.071 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.247e-05/0.2519, allocations: 7.562 kB / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.2519, allocations: 0.6094 kB / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.2519, allocations: 4 kB / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.2519, allocations: 7.938 kB / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003146/0.2522, allocations: 177.6 kB / 1.071 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.2522, allocations: 0 / 1.071 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.363e-05/0.2523, allocations: 19.98 kB / 1.071 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.2523, allocations: 3.938 kB / 1.071 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-06/0.2523, allocations: 0 / 1.071 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.2523, allocations: 0 / 1.071 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.2524, allocations: 7.984 kB / 1.071 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002263/0.2526, allocations: 329.9 kB / 1.071 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.626e-05/0.2526, allocations: 81.11 kB / 1.071 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.2527, allocations: 4 kB / 1.071 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.2528, allocations: 4.031 kB / 1.071 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.266e-05/0.2528, allocations: 15.88 kB / 1.071 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.869e-06/0.2529, allocations: 4 kB / 1.071 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.693e-05/0.2529, allocations: 79.28 kB / 1.071 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2529, allocations: 0 / 1.071 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002837/0.2532, allocations: 16 kB / 1.072 GB, free: 6.133 MB / 0.8262 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.0004889/0.2537, allocations: 0.8677 MB / 1.072 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001071/0.2538, allocations: 43.92 kB / 1.072 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.2538, allocations: 0 / 1.072 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.684e-05/0.2539, allocations: 19.94 kB / 1.072 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000382/0.2542, allocations: 11.92 kB / 1.072 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001486/0.2557, allocations: 1.703 MB / 1.074 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002745/0.256, allocations: 0.6884 MB / 1.075 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.93e-05/0.2561, allocations: 11.98 kB / 1.075 GB, free: 2.617 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.121e-05/0.2561, allocations: 19.38 kB / 1.075 GB, free: 2.598 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.2561, allocations: 0 / 1.075 GB, free: 2.598 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4978/0.7539, allocations: 1.665 MB / 1.076 GB, free: 1.09 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.92, allocations: 8.25 kB / 1.076 GB, free: 1.082 MB / 0.8262 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