Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 107.6 kB / 18.95 MB, free: 2.828 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001611/0.001611, allocations: 219.1 kB / 22.25 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.32/1.32, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.966/2.966, allocations: 0.5107 GB / 0.8158 GB, free: 17.78 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 71.8 kB / 1.186 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.313, allocations: 181.9 MB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002195/0.3152, allocations: 1.278 MB / 1.365 GB, free: 12.8 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003109/0.3183, allocations: 2.372 MB / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.478e-05/0.3184, allocations: 0 / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.548e-05/0.3184, allocations: 3.938 kB / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.878e-05/0.3184, allocations: 4 kB / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005045/0.3189, allocations: 135.4 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.784e-05/0.319, allocations: 35.84 kB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.358e-05/0.319, allocations: 4 kB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.277e-05/0.3191, allocations: 19.92 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.658e-05/0.3191, allocations: 15.92 kB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.004e-05/0.3191, allocations: 0 / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002549/0.3194, allocations: 107.8 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.708e-05/0.3194, allocations: 11.97 kB / 1.367 GB, free: 10.08 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.129e-05/0.3194, allocations: 19.94 kB / 1.367 GB, free: 10.06 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001737/0.3196, allocations: 80.06 kB / 1.367 GB, free: 9.98 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.3196, allocations: 0 / 1.367 GB, free: 9.98 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.153e-06/0.3196, allocations: 0 / 1.367 GB, free: 9.98 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.3196, allocations: 0 / 1.367 GB, free: 9.98 MB / 1.061 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.0003922/0.32, allocations: 278.2 kB / 1.368 GB, free: 9.68 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.3201, allocations: 8.031 kB / 1.368 GB, free: 9.672 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.045e-05/0.3201, allocations: 30.75 kB / 1.368 GB, free: 9.633 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001842/0.3203, allocations: 20.89 kB / 1.368 GB, free: 9.613 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.3204, allocations: 118.5 kB / 1.368 GB, free: 9.473 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.3204, allocations: 384 / 1.368 GB, free: 9.473 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.3204, allocations: 12.3 kB / 1.368 GB, free: 9.461 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.3206, allocations: 157.3 kB / 1.368 GB, free: 9.273 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.3206, allocations: 0 / 1.368 GB, free: 9.273 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.3206, allocations: 0 / 1.368 GB, free: 9.273 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.3206, allocations: 0 / 1.368 GB, free: 9.273 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.73e-05/0.3207, allocations: 15.94 kB / 1.368 GB, free: 9.258 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005708/0.3212, allocations: 404.3 kB / 1.368 GB, free: 8.812 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001452/0.3214, allocations: 75.66 kB / 1.368 GB, free: 8.711 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.582e-05/0.3214, allocations: 22.78 kB / 1.368 GB, free: 8.68 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.034e-05/0.3214, allocations: 0 / 1.368 GB, free: 8.68 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.3214, allocations: 42.5 kB / 1.368 GB, free: 8.629 MB / 1.061 GB Notification: Performance of pre-optimization done (n=5): time 8.92e-07/0.3214, allocations: 0 / 1.368 GB, free: 8.629 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0005511/0.322, allocations: 229.1 kB / 1.369 GB, free: 8.371 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.941e-05/0.3221, allocations: 102.8 kB / 1.369 GB, free: 8.246 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.874e-05/0.3221, allocations: 98.05 kB / 1.369 GB, free: 8.141 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.3222, allocations: 33.7 kB / 1.369 GB, free: 8.102 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.549e-05/0.3222, allocations: 92.08 kB / 1.369 GB, free: 8.008 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.439e-05/0.3222, allocations: 31.69 kB / 1.369 GB, free: 7.977 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-05/0.3223, allocations: 29.7 kB / 1.369 GB, free: 7.941 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.3224, allocations: 314.8 kB / 1.369 GB, free: 7.625 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.926e-05/0.3224, allocations: 15.98 kB / 1.369 GB, free: 7.609 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.617e-05/0.3225, allocations: 57.03 kB / 1.369 GB, free: 7.535 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.557e-05/0.3226, allocations: 77.59 kB / 1.37 GB, free: 7.441 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3226, allocations: 0 / 1.37 GB, free: 7.441 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001458/0.3228, allocations: 97.53 kB / 1.37 GB, free: 7.34 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.3228, allocations: 8 kB / 1.37 GB, free: 7.332 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.3228, allocations: 0 / 1.37 GB, free: 7.332 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.3228, allocations: 4 kB / 1.37 GB, free: 7.328 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.782e-05/0.3229, allocations: 19.98 kB / 1.37 GB, free: 7.309 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.3229, allocations: 3.938 kB / 1.37 GB, free: 7.305 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.826e-05/0.3229, allocations: 8 kB / 1.37 GB, free: 7.297 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.3229, allocations: 12.06 kB / 1.37 GB, free: 7.285 MB / 1.061 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 8.25e-05/0.323, allocations: 113.8 kB / 1.37 GB, free: 7.164 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.586e-05/0.3231, allocations: 7.953 kB / 1.37 GB, free: 7.156 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.684e-05/0.3231, allocations: 7.75 kB / 1.37 GB, free: 7.145 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.3231, allocations: 3.984 kB / 1.37 GB, free: 7.141 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.631e-05/0.3231, allocations: 8.062 kB / 1.37 GB, free: 7.133 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.3231, allocations: 0 / 1.37 GB, free: 7.133 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003192/0.3234, allocations: 148.7 kB / 1.37 GB, free: 6.945 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3234, allocations: 0 / 1.37 GB, free: 6.945 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.666e-05/0.3235, allocations: 23.92 kB / 1.37 GB, free: 6.922 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.3235, allocations: 4 kB / 1.37 GB, free: 6.918 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.3235, allocations: 0 / 1.37 GB, free: 6.918 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.3235, allocations: 4 kB / 1.37 GB, free: 6.914 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3235, allocations: 0 / 1.37 GB, free: 6.914 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000256/0.3238, allocations: 322 kB / 1.37 GB, free: 6.582 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.192e-05/0.3238, allocations: 11.95 kB / 1.37 GB, free: 6.57 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.3238, allocations: 0 / 1.37 GB, free: 6.57 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001624/0.324, allocations: 8.031 kB / 1.37 GB, free: 6.562 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.567e-05/0.324, allocations: 11.88 kB / 1.37 GB, free: 6.551 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.324, allocations: 8 kB / 1.37 GB, free: 6.543 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.347e-05/0.3241, allocations: 83.27 kB / 1.37 GB, free: 6.461 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3241, allocations: 0 / 1.37 GB, free: 6.461 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002992/0.3244, allocations: 16 kB / 1.37 GB, free: 6.445 MB / 1.061 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.0005643/0.3249, allocations: 0.8696 MB / 1.371 GB, free: 5.547 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001048/0.325, allocations: 43.92 kB / 1.371 GB, free: 5.504 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.325, allocations: 0 / 1.371 GB, free: 5.504 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.775e-05/0.3251, allocations: 16.25 kB / 1.371 GB, free: 5.488 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000419/0.3255, allocations: 19.92 kB / 1.371 GB, free: 5.469 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00167/0.3271, allocations: 1.697 MB / 1.373 GB, free: 3.652 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.944e-05/0.3272, allocations: 68 kB / 1.373 GB, free: 3.566 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.443e-05/0.3273, allocations: 12.05 kB / 1.373 GB, free: 3.555 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.898e-05/0.3273, allocations: 19.38 kB / 1.373 GB, free: 3.539 MB / 1.061 GB Notification: Performance of SimCode: time 4.41e-07/0.3273, allocations: 0 / 1.373 GB, free: 3.539 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02971/0.357, allocations: 2.223 MB / 1.375 GB, free: 1.488 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.11/10.47, allocations: 0.8125 kB / 1.375 GB, free: 1.488 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-08 Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable der(cpCod) in file Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.501021808944643]