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.001677/0.001677, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001943/0.001943, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.524/1.524, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.846/2.846, allocations: 476.7 MB / 0.7678 GB, free: 9.359 MB / 0.6075 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.002087/0.002087, allocations: 67.91 kB / 1.113 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.059/1.061, allocations: 169.9 MB / 1.279 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002789/1.064, allocations: 1.295 MB / 1.28 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.004049/1.068, allocations: 2.559 MB / 1.283 GB, free: 9.016 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.351e-05/1.068, allocations: 7.875 kB / 1.283 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.599e-05/1.068, allocations: 1.438 kB / 1.283 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.706e-05/1.068, allocations: 5.922 kB / 1.283 GB, free: 9.004 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000707/1.069, allocations: 132.8 kB / 1.283 GB, free: 8.934 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000113/1.069, allocations: 39.2 kB / 1.283 GB, free: 8.918 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.246e-05/1.069, allocations: 6.281 kB / 1.283 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.249e-05/1.069, allocations: 16.69 kB / 1.283 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.018e-05/1.069, allocations: 21.73 kB / 1.283 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/1.069, allocations: 2.406 kB / 1.283 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003089/1.069, allocations: 114.7 kB / 1.283 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.794e-05/1.069, allocations: 12.2 kB / 1.283 GB, free: 8.852 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.112e-05/1.069, allocations: 11.97 kB / 1.283 GB, free: 8.848 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002129/1.069, allocations: 83.92 kB / 1.283 GB, free: 8.82 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/1.07, allocations: 0 / 1.283 GB, free: 8.82 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.423e-06/1.07, allocations: 0 / 1.283 GB, free: 8.82 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.07e-06/1.07, allocations: 4 kB / 1.283 GB, free: 8.816 MB / 0.9981 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.0004883/1.07, allocations: 357.5 kB / 1.283 GB, free: 8.445 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/1.07, allocations: 8.656 kB / 1.283 GB, free: 8.445 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.629e-05/1.07, allocations: 1.859 kB / 1.283 GB, free: 8.445 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.671e-05/1.07, allocations: 36.73 kB / 1.284 GB, free: 8.402 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002103/1.07, allocations: 21.33 kB / 1.284 GB, free: 8.395 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/1.07, allocations: 166.8 kB / 1.284 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.867e-06/1.07, allocations: 5.781 kB / 1.284 GB, free: 8.191 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.198e-05/1.071, allocations: 7.188 kB / 1.284 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/1.071, allocations: 68.94 kB / 1.284 GB, free: 8.125 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/1.071, allocations: 3.938 kB / 1.284 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/1.071, allocations: 1.281 kB / 1.284 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/1.071, allocations: 1.094 kB / 1.284 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.684e-05/1.071, allocations: 12.36 kB / 1.284 GB, free: 8.117 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007131/1.071, allocations: 478.7 kB / 1.284 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001503/1.072, allocations: 68.52 kB / 1.284 GB, free: 7.551 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.947e-05/1.072, allocations: 24.06 kB / 1.284 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.568e-06/1.072, allocations: 2 kB / 1.284 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/1.072, allocations: 36.75 kB / 1.284 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=5): time 1.213e-06/1.072, allocations: 1.312 kB / 1.284 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.000742/1.072, allocations: 305.5 kB / 1.285 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.071e-05/1.073, allocations: 112.9 kB / 1.285 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.022e-05/1.073, allocations: 96.09 kB / 1.285 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/1.073, allocations: 31.02 kB / 1.285 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.295e-05/1.073, allocations: 84.7 kB / 1.285 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000109/1.073, allocations: 30.59 kB / 1.285 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.583e-05/1.073, allocations: 27.94 kB / 1.285 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001532/1.073, allocations: 325.6 kB / 1.285 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.166e-05/1.073, allocations: 13.77 kB / 1.285 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.046e-05/1.073, allocations: 47.89 kB / 1.285 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/1.073, allocations: 77.52 kB / 1.285 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/1.073, allocations: 4 kB / 1.285 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001507/1.073, allocations: 90.66 kB / 1.286 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/1.073, allocations: 5.797 kB / 1.286 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/1.073, allocations: 6.094 kB / 1.286 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/1.073, allocations: 2.375 kB / 1.286 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.341e-05/1.073, allocations: 23.17 kB / 1.286 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/1.073, allocations: 6 kB / 1.286 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.333e-05/1.074, allocations: 10.77 kB / 1.286 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/1.074, allocations: 4.438 kB / 1.286 GB, free: 6.273 MB / 0.9981 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 9.279e-05/1.074, allocations: 118.1 kB / 1.286 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.453e-05/1.074, allocations: 7.609 kB / 1.286 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.465e-05/1.074, allocations: 9.797 kB / 1.286 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/1.074, allocations: 2.406 kB / 1.286 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/1.074, allocations: 1.344 kB / 1.286 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/1.074, allocations: 8.672 kB / 1.286 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003775/1.074, allocations: 178.1 kB / 1.286 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/1.074, allocations: 1.344 kB / 1.286 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.397e-05/1.074, allocations: 19.73 kB / 1.286 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/1.074, allocations: 2.234 kB / 1.286 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/1.074, allocations: 0.7188 kB / 1.286 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/1.074, allocations: 2.031 kB / 1.286 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.074, allocations: 0.75 kB / 1.286 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003092/1.075, allocations: 331.6 kB / 1.286 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.939e-05/1.075, allocations: 85.53 kB / 1.286 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/1.075, allocations: 7.188 kB / 1.286 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001767/1.075, allocations: 3.734 kB / 1.286 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.402e-05/1.075, allocations: 8.172 kB / 1.286 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/1.075, allocations: 2.844 kB / 1.286 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.439e-05/1.075, allocations: 83.39 kB / 1.286 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/1.075, allocations: 4 kB / 1.286 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003604/1.075, allocations: 10.97 kB / 1.286 GB, free: 5.434 MB / 0.9981 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.0006241/1.076, allocations: 0.8721 MB / 1.287 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001297/1.076, allocations: 42.5 kB / 1.287 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/1.076, allocations: 1.375 kB / 1.287 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.011e-05/1.076, allocations: 19.73 kB / 1.287 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004581/1.077, allocations: 18.3 kB / 1.287 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002173/1.079, allocations: 1.697 MB / 1.289 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004672/1.079, allocations: 0.69 MB / 1.29 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 5.118e-05/1.079, allocations: 8.094 kB / 1.29 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.387e-05/1.079, allocations: 16.97 kB / 1.29 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of SimCode: time 3.1e-07/1.079, allocations: 0 / 1.29 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01957/1.099, allocations: 1.774 MB / 1.291 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.708/9.807, allocations: 10.83 kB / 1.291 GB, free: 1.848 MB / 0.9981 GB " [Timeout remaining time 290] (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: 16.187608737964183]