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.001502/0.001502, allocations: 116.8 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.001669/0.001669, allocations: 209.6 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.458/1.458, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.881/2.881, allocations: 0.5003 GB / 0.8026 GB, free: 6.738 MB / 0.6387 GB " [Timeout remaining time 176] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_latest_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.002139/0.002139, allocations: 67.91 kB / 1.165 GB, free: 0.5508 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9276/0.9298, allocations: 178.9 MB / 1.34 GB, free: 16.3 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002261/0.932, allocations: 1.288 MB / 1.341 GB, free: 15.39 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002598/0.9346, allocations: 2.564 MB / 1.344 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.122e-05/0.9347, allocations: 0 / 1.344 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.438e-05/0.9347, allocations: 0.6562 kB / 1.344 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.55e-05/0.9347, allocations: 10.8 kB / 1.344 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004995/0.9352, allocations: 131.8 kB / 1.344 GB, free: 13.48 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.019e-05/0.9353, allocations: 36.08 kB / 1.344 GB, free: 13.47 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.819e-05/0.9354, allocations: 2.094 kB / 1.344 GB, free: 13.47 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.471e-05/0.9354, allocations: 20.66 kB / 1.344 GB, free: 13.46 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.963e-05/0.9355, allocations: 22.05 kB / 1.344 GB, free: 13.45 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.008e-05/0.9355, allocations: 1.281 kB / 1.344 GB, free: 13.45 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003032/0.9358, allocations: 118.5 kB / 1.344 GB, free: 13.41 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.45e-05/0.9358, allocations: 4.484 kB / 1.344 GB, free: 13.41 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.786e-05/0.9358, allocations: 16.38 kB / 1.344 GB, free: 13.4 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00019/0.936, allocations: 83.11 kB / 1.344 GB, free: 13.38 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.936, allocations: 0 / 1.344 GB, free: 13.38 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.553e-06/0.936, allocations: 6.031 kB / 1.344 GB, free: 13.37 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.936, allocations: 0 / 1.344 GB, free: 13.37 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.0003562/0.9364, allocations: 360.5 kB / 1.345 GB, free: 13 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.9364, allocations: 8.594 kB / 1.345 GB, free: 13 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.455e-05/0.9364, allocations: 1.812 kB / 1.345 GB, free: 13 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.349e-05/0.9364, allocations: 41.34 kB / 1.345 GB, free: 12.95 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001976/0.9366, allocations: 12.38 kB / 1.345 GB, free: 12.95 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.207e-05/0.9367, allocations: 163.3 kB / 1.345 GB, free: 12.75 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.884e-06/0.9367, allocations: 5.75 kB / 1.345 GB, free: 12.75 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.64e-05/0.9367, allocations: 15.02 kB / 1.345 GB, free: 12.74 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.9369, allocations: 73.56 kB / 1.345 GB, free: 12.67 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.9369, allocations: 3.938 kB / 1.345 GB, free: 12.67 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.9369, allocations: 1.25 kB / 1.345 GB, free: 12.67 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.9369, allocations: 1.281 kB / 1.345 GB, free: 12.67 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.929e-05/0.9369, allocations: 9.016 kB / 1.345 GB, free: 12.67 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004458/0.9374, allocations: 468.5 kB / 1.345 GB, free: 12.19 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.9375, allocations: 73.38 kB / 1.345 GB, free: 12.11 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.375e-05/0.9375, allocations: 24.64 kB / 1.346 GB, free: 12.08 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.415e-06/0.9375, allocations: 1.438 kB / 1.346 GB, free: 12.08 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.48e-05/0.9375, allocations: 37.33 kB / 1.346 GB, free: 12.04 MB / 1.061 GB Notification: Performance of pre-optimization done (n=5): time 1.123e-06/0.9375, allocations: 0 / 1.346 GB, free: 12.04 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0005124/0.9381, allocations: 313.5 kB / 1.346 GB, free: 11.74 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.455e-05/0.9381, allocations: 108.7 kB / 1.346 GB, free: 11.61 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.033e-05/0.9381, allocations: 100.4 kB / 1.346 GB, free: 11.51 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.967e-06/0.9381, allocations: 27.08 kB / 1.346 GB, free: 11.48 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.086e-05/0.9381, allocations: 90.83 kB / 1.346 GB, free: 11.39 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.559e-05/0.9382, allocations: 33.25 kB / 1.346 GB, free: 11.36 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.23e-05/0.9382, allocations: 23.47 kB / 1.346 GB, free: 11.34 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 3.711e-05/0.9382, allocations: 325.6 kB / 1.347 GB, free: 11.02 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.569e-05/0.9383, allocations: 13.89 kB / 1.347 GB, free: 11.02 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.519e-05/0.9383, allocations: 51.98 kB / 1.347 GB, free: 10.96 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.323e-05/0.9384, allocations: 73.11 kB / 1.347 GB, free: 10.89 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.9384, allocations: 0 / 1.347 GB, free: 10.89 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001151/0.9385, allocations: 103.3 kB / 1.347 GB, free: 10.83 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.9385, allocations: 5.5 kB / 1.347 GB, free: 10.83 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.9385, allocations: 2.75 kB / 1.347 GB, free: 10.83 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.9385, allocations: 1.938 kB / 1.347 GB, free: 10.83 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.558e-05/0.9386, allocations: 26.77 kB / 1.347 GB, free: 10.82 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.9386, allocations: 3.688 kB / 1.347 GB, free: 10.82 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.663e-05/0.9386, allocations: 5.312 kB / 1.347 GB, free: 10.82 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-06/0.9386, allocations: 4.125 kB / 1.347 GB, free: 10.82 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.657e-05/0.9387, allocations: 118.8 kB / 1.347 GB, free: 10.7 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.784e-05/0.9387, allocations: 2.75 kB / 1.347 GB, free: 10.7 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.635e-05/0.9388, allocations: 10.25 kB / 1.347 GB, free: 10.69 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.9388, allocations: 1.375 kB / 1.347 GB, free: 10.69 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.9388, allocations: 1.375 kB / 1.347 GB, free: 10.69 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.9388, allocations: 8.688 kB / 1.347 GB, free: 10.68 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000272/0.939, allocations: 175.2 kB / 1.347 GB, free: 10.48 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.939, allocations: 0 / 1.347 GB, free: 10.48 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.441e-05/0.9391, allocations: 16.56 kB / 1.347 GB, free: 10.48 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.9391, allocations: 1.375 kB / 1.347 GB, free: 10.48 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.9391, allocations: 1.375 kB / 1.347 GB, free: 10.48 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.9391, allocations: 2.031 kB / 1.347 GB, free: 10.48 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.9391, allocations: 1.375 kB / 1.347 GB, free: 10.48 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001575/0.9393, allocations: 339.2 kB / 1.347 GB, free: 10.17 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/0.9393, allocations: 85.86 kB / 1.348 GB, free: 10.07 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.9393, allocations: 2.078 kB / 1.348 GB, free: 10.07 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001663/0.9395, allocations: 7.547 kB / 1.348 GB, free: 10.07 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.085e-05/0.9395, allocations: 8.938 kB / 1.348 GB, free: 10.07 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-06/0.9395, allocations: 8.062 kB / 1.348 GB, free: 10.06 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.744e-05/0.9396, allocations: 77.78 kB / 1.348 GB, free: 9.988 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.9396, allocations: 5.375 kB / 1.348 GB, free: 9.984 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003067/0.9399, allocations: 13.62 kB / 1.348 GB, free: 9.98 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.0002853/0.9402, allocations: 0.8644 MB / 1.348 GB, free: 9.145 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001201/0.9403, allocations: 45.33 kB / 1.349 GB, free: 9.129 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.9403, allocations: 1.375 kB / 1.349 GB, free: 9.129 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.578e-05/0.9403, allocations: 24.75 kB / 1.349 GB, free: 9.117 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004261/0.9407, allocations: 9.516 kB / 1.349 GB, free: 9.113 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.9419, allocations: 1.699 MB / 1.35 GB, free: 7.496 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000114/0.942, allocations: 0.6819 MB / 1.351 GB, free: 6.801 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.313e-05/0.9421, allocations: 9.266 kB / 1.351 GB, free: 6.797 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.729e-05/0.9421, allocations: 20.88 kB / 1.351 GB, free: 6.785 MB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/0.9421, allocations: 0 / 1.351 GB, free: 6.785 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0724/1.015, allocations: 1.772 MB / 1.353 GB, free: 6.414 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.138/9.152, allocations: 14.12 kB / 1.353 GB, free: 6.406 MB / 1.061 GB " [Timeout remaining time 291] (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: 15.663344004016835]