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.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.001693/0.001693, allocations: 105.5 kB / 19.73 MB, free: 2.223 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.002438/0.002438, allocations: 215.5 kB / 23.04 MB, free: 5.059 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.51/1.51, allocations: 230.6 MB / 256.8 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.927/2.927, allocations: 476.7 MB / 0.7715 GB, free: 4.27 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="cs",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.002032/0.002032, allocations: 65.61 kB / 1.118 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3113/0.3133, allocations: 170 MB / 1.284 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.003219/0.3166, allocations: 1.288 MB / 1.285 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004031/0.3206, allocations: 2.594 MB / 1.288 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.461e-05/0.3206, allocations: 0 / 1.288 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.598e-05/0.3206, allocations: 0 / 1.288 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.834e-05/0.3207, allocations: 3.938 kB / 1.288 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006658/0.3213, allocations: 139.4 kB / 1.288 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.3215, allocations: 35.84 kB / 1.288 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.161e-05/0.3215, allocations: 4 kB / 1.288 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.677e-05/0.3216, allocations: 23.91 kB / 1.288 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.4e-05/0.3216, allocations: 12 kB / 1.288 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.085e-05/0.3216, allocations: 0 / 1.288 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003452/0.322, allocations: 123.8 kB / 1.288 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.738e-05/0.322, allocations: 7.938 kB / 1.288 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.614e-05/0.322, allocations: 19.92 kB / 1.288 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000237/0.3223, allocations: 87.3 kB / 1.288 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.3223, allocations: 0 / 1.288 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3223, allocations: 0 / 1.288 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.656e-06/0.3223, allocations: 7.922 kB / 1.288 GB, free: 7.379 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.0004545/0.3227, allocations: 274.2 kB / 1.289 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.3228, allocations: 12.03 kB / 1.289 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.385e-05/0.3228, allocations: 192 / 1.289 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.529e-05/0.3228, allocations: 34.75 kB / 1.289 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002288/0.3231, allocations: 20.92 kB / 1.289 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.3232, allocations: 102.5 kB / 1.289 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.3232, allocations: 4.375 kB / 1.289 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.909e-05/0.3232, allocations: 12.12 kB / 1.289 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.3234, allocations: 68.19 kB / 1.289 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.3234, allocations: 0 / 1.289 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/0.3234, allocations: 4 kB / 1.289 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.3234, allocations: 4 kB / 1.289 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.28e-05/0.3234, allocations: 15.98 kB / 1.289 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006567/0.3241, allocations: 420.2 kB / 1.289 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001602/0.3242, allocations: 75.88 kB / 1.289 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.353e-05/0.3243, allocations: 22.58 kB / 1.289 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/0.3243, allocations: 4 kB / 1.289 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.3243, allocations: 34.5 kB / 1.289 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.3243, allocations: 3.938 kB / 1.289 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0006679/0.325, allocations: 237 kB / 1.29 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.508e-05/0.3251, allocations: 102.8 kB / 1.29 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.377e-05/0.3251, allocations: 106.2 kB / 1.29 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.3252, allocations: 25.7 kB / 1.29 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.949e-05/0.3252, allocations: 88.09 kB / 1.29 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.629e-05/0.3253, allocations: 24 kB / 1.29 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.22e-05/0.3253, allocations: 33.7 kB / 1.29 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.3255, allocations: 322.8 kB / 1.29 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.689e-05/0.3255, allocations: 15.92 kB / 1.29 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.484e-05/0.3256, allocations: 53.14 kB / 1.29 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001023/0.3257, allocations: 73.03 kB / 1.29 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3257, allocations: 0 / 1.29 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000152/0.3258, allocations: 89.55 kB / 1.291 GB, free: 4.836 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.3258, allocations: 8 kB / 1.291 GB, free: 4.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.3258, allocations: 0 / 1.291 GB, free: 4.828 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.3259, allocations: 8.125 kB / 1.291 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.658e-05/0.3259, allocations: 23.98 kB / 1.291 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.326, allocations: 0 / 1.291 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.335e-05/0.326, allocations: 11.89 kB / 1.291 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/0.326, allocations: 4 kB / 1.291 GB, free: 4.781 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 0.0001193/0.3261, allocations: 117.8 kB / 1.291 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.012e-05/0.3262, allocations: 4 kB / 1.291 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.549e-05/0.3262, allocations: 11.73 kB / 1.291 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3262, allocations: 0 / 1.291 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.3262, allocations: 8 kB / 1.291 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.3262, allocations: 3.938 kB / 1.291 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003568/0.3266, allocations: 144.7 kB / 1.291 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.624e-06/0.3266, allocations: 0 / 1.291 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.384e-05/0.3267, allocations: 16 kB / 1.291 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.3267, allocations: 0 / 1.291 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.467e-06/0.3267, allocations: 0 / 1.291 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/0.3267, allocations: 7.984 kB / 1.291 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3267, allocations: 64 / 1.291 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000309/0.327, allocations: 341.9 kB / 1.291 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.854e-05/0.3271, allocations: 8.031 kB / 1.291 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.3271, allocations: 0 / 1.291 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001771/0.3273, allocations: 4 kB / 1.291 GB, free: 4.059 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.277e-05/0.3273, allocations: 11.92 kB / 1.291 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.3273, allocations: 7.938 kB / 1.291 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.341e-05/0.3273, allocations: 87.22 kB / 1.291 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3273, allocations: 0 / 1.291 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000328/0.3277, allocations: 12 kB / 1.291 GB, free: 3.941 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.0006421/0.3283, allocations: 0.8599 MB / 1.292 GB, free: 3.051 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001488/0.3285, allocations: 56.22 kB / 1.292 GB, free: 2.996 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3285, allocations: 0 / 1.292 GB, free: 2.996 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.885e-05/0.3285, allocations: 12 kB / 1.292 GB, free: 2.984 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005192/0.329, allocations: 11.94 kB / 1.292 GB, free: 2.973 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002023/0.331, allocations: 1.708 MB / 1.294 GB, free: 1.148 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004043/0.3314, allocations: 0.6807 MB / 1.295 GB, free: 452 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.407e-05/0.3315, allocations: 8 kB / 1.295 GB, free: 444 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.684e-05/0.3315, allocations: 15.44 kB / 1.295 GB, free: 428 kB / 0.9825 GB Notification: Performance of SimCode: time 9.92e-07/0.3316, allocations: 0 / 1.295 GB, free: 428 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0292/0.3607, allocations: 1.876 MB / 1.296 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/11.96, allocations: 11.5 kB / 1.296 GB, free: 14.71 MB / 0.9981 GB " [Timeout remaining time 287] (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 --stepSize=0.0004 --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) [Timeout 420.0] 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) [Timeout 300] "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! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.90403607796179]