Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001479/0.001479, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.002068/0.002068, allocations: 215 kB / 20.13 MB, free: 2.949 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.445/1.445, 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 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.833/2.833, allocations: 0.49 GB / 0.7923 GB, free: 1.367 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_12_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.002203/0.002203, allocations: 66.22 kB / 1.149 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8857/0.8879, allocations: 176.1 MB / 1.321 GB, free: 24.78 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001853/0.8897, allocations: 1.297 MB / 1.323 GB, free: 23.86 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002118/0.8918, allocations: 2.565 MB / 1.325 GB, free: 22.02 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.595e-05/0.8919, allocations: 0 / 1.325 GB, free: 22.02 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.4e-05/0.8919, allocations: 0 / 1.325 GB, free: 22.02 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.001e-05/0.8919, allocations: 7.219 kB / 1.325 GB, free: 22.02 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004443/0.8924, allocations: 133.6 kB / 1.325 GB, free: 21.95 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.576e-05/0.8924, allocations: 34.83 kB / 1.325 GB, free: 21.94 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.066e-05/0.8925, allocations: 2.688 kB / 1.325 GB, free: 21.94 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.64e-05/0.8925, allocations: 30.39 kB / 1.325 GB, free: 21.92 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.199e-05/0.8925, allocations: 12.94 kB / 1.325 GB, free: 21.92 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.638e-06/0.8926, allocations: 2.781 kB / 1.325 GB, free: 21.92 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002388/0.8928, allocations: 115.5 kB / 1.326 GB, free: 21.88 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.131e-05/0.8928, allocations: 10.81 kB / 1.326 GB, free: 21.87 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.536e-05/0.8928, allocations: 23.42 kB / 1.326 GB, free: 21.86 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001567/0.893, allocations: 78.72 kB / 1.326 GB, free: 21.83 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.893, allocations: 0 / 1.326 GB, free: 21.83 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.303e-06/0.893, allocations: 0 / 1.326 GB, free: 21.83 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.893, allocations: 2.844 kB / 1.326 GB, free: 21.83 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.0003108/0.8933, allocations: 357.4 kB / 1.326 GB, free: 21.46 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.8933, allocations: 14.92 kB / 1.326 GB, free: 21.45 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.162e-05/0.8934, allocations: 192 / 1.326 GB, free: 21.45 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.946e-05/0.8934, allocations: 41.81 kB / 1.326 GB, free: 21.41 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001824/0.8936, allocations: 16.83 kB / 1.326 GB, free: 21.4 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.31e-05/0.8936, allocations: 160.4 kB / 1.326 GB, free: 21.21 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.414e-06/0.8936, allocations: 3.25 kB / 1.326 GB, free: 21.21 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.374e-05/0.8937, allocations: 14.22 kB / 1.326 GB, free: 21.2 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.8938, allocations: 68.86 kB / 1.326 GB, free: 21.14 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.8938, allocations: 0 / 1.326 GB, free: 21.14 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.8938, allocations: 7.938 kB / 1.326 GB, free: 21.13 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.8938, allocations: 6.875 kB / 1.326 GB, free: 21.12 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.325e-05/0.8938, allocations: 6 kB / 1.326 GB, free: 21.12 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004179/0.8942, allocations: 474 kB / 1.327 GB, free: 20.64 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.8943, allocations: 72.7 kB / 1.327 GB, free: 20.56 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.206e-05/0.8944, allocations: 23.06 kB / 1.327 GB, free: 20.54 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.574e-06/0.8944, allocations: 4 kB / 1.327 GB, free: 20.53 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.303e-05/0.8944, allocations: 33.53 kB / 1.327 GB, free: 20.49 MB / 1.061 GB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.8944, allocations: 4 kB / 1.327 GB, free: 20.49 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0004902/0.8949, allocations: 304.9 kB / 1.327 GB, free: 20.2 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.398e-05/0.8949, allocations: 102.8 kB / 1.327 GB, free: 20.08 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.918e-05/0.8949, allocations: 103.3 kB / 1.327 GB, free: 19.98 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.007e-06/0.8949, allocations: 29.7 kB / 1.327 GB, free: 19.94 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.032e-05/0.895, allocations: 84.34 kB / 1.327 GB, free: 19.86 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.466e-05/0.895, allocations: 36.81 kB / 1.328 GB, free: 19.83 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.121e-05/0.895, allocations: 26.05 kB / 1.328 GB, free: 19.8 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 3.554e-05/0.895, allocations: 317.7 kB / 1.328 GB, free: 19.49 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.461e-05/0.8951, allocations: 14.91 kB / 1.328 GB, free: 19.48 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.392e-05/0.8951, allocations: 55.56 kB / 1.328 GB, free: 19.43 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.271e-05/0.8952, allocations: 75.34 kB / 1.328 GB, free: 19.36 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.8952, allocations: 0 / 1.328 GB, free: 19.36 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001033/0.8953, allocations: 89.5 kB / 1.328 GB, free: 19.31 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.8953, allocations: 5.5 kB / 1.328 GB, free: 19.31 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.8953, allocations: 11.06 kB / 1.328 GB, free: 19.3 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.8953, allocations: 6.453 kB / 1.328 GB, free: 19.3 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.178e-05/0.8954, allocations: 23.94 kB / 1.328 GB, free: 19.29 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.8954, allocations: 0 / 1.328 GB, free: 19.29 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.745e-05/0.8954, allocations: 18.52 kB / 1.328 GB, free: 19.28 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.8954, allocations: 5.594 kB / 1.328 GB, free: 19.28 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 4.237e-05/0.8955, allocations: 118.3 kB / 1.328 GB, free: 19.16 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.728e-05/0.8955, allocations: 2.844 kB / 1.328 GB, free: 19.16 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.452e-05/0.8956, allocations: 14.22 kB / 1.328 GB, free: 19.14 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.8956, allocations: 3.609 kB / 1.328 GB, free: 19.14 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.8956, allocations: 2.906 kB / 1.328 GB, free: 19.14 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.8956, allocations: 3.938 kB / 1.328 GB, free: 19.14 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002685/0.8958, allocations: 172.4 kB / 1.328 GB, free: 18.95 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.8958, allocations: 0 / 1.328 GB, free: 18.95 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.986e-05/0.8959, allocations: 17.42 kB / 1.328 GB, free: 18.95 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.8959, allocations: 2.531 kB / 1.328 GB, free: 18.95 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.8959, allocations: 0 / 1.328 GB, free: 18.95 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.8959, allocations: 2.656 kB / 1.328 GB, free: 18.95 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.8959, allocations: 0 / 1.328 GB, free: 18.95 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001409/0.8961, allocations: 336.8 kB / 1.329 GB, free: 18.64 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.246e-05/0.8961, allocations: 91.45 kB / 1.329 GB, free: 18.54 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.8961, allocations: 0 / 1.329 GB, free: 18.54 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.8963, allocations: 2.531 kB / 1.329 GB, free: 18.54 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.903e-05/0.8963, allocations: 9.953 kB / 1.329 GB, free: 18.53 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.8963, allocations: 13.16 kB / 1.329 GB, free: 18.52 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.637e-05/0.8963, allocations: 75.28 kB / 1.329 GB, free: 18.45 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.8963, allocations: 2.562 kB / 1.329 GB, free: 18.45 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003026/0.8966, allocations: 14.88 kB / 1.329 GB, free: 18.45 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.0002654/0.8969, allocations: 0.8604 MB / 1.33 GB, free: 17.61 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001046/0.897, allocations: 46.86 kB / 1.33 GB, free: 17.6 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.897, allocations: 3.938 kB / 1.33 GB, free: 17.59 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.378e-05/0.897, allocations: 16.36 kB / 1.33 GB, free: 17.59 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004035/0.8974, allocations: 15.73 kB / 1.33 GB, free: 17.58 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.8986, allocations: 1.702 MB / 1.332 GB, free: 15.96 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001164/0.8987, allocations: 0.681 MB / 1.332 GB, free: 15.27 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.056e-05/0.8988, allocations: 15.38 kB / 1.332 GB, free: 15.26 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.558e-05/0.8988, allocations: 15.25 kB / 1.332 GB, free: 15.25 MB / 1.061 GB Notification: Performance of SimCode: time 2.81e-07/0.8988, allocations: 0 / 1.332 GB, free: 15.25 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01971/0.9185, allocations: 1.772 MB / 1.334 GB, free: 14.88 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.947/8.865, allocations: 6.812 kB / 1.334 GB, free: 14.87 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat --tempDir=temp_Buildings_12_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-08 Buildings_12_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.107987929950468]