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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 109.4 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.11/3.11, allocations: 497.2 MB / 0.7811 GB, free: 33.55 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 66.89 kB / 1.134 GB, free: 33.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3364/0.3384, allocations: 173.9 MB / 1.304 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002387/0.3408, allocations: 1.277 MB / 1.305 GB, free: 316 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003164/0.3439, allocations: 2.519 MB / 1.308 GB, free: 13.77 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.362e-05/0.3439, allocations: 0 / 1.308 GB, free: 13.77 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.686e-05/0.344, allocations: 0 / 1.308 GB, free: 13.77 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.434e-05/0.344, allocations: 7.922 kB / 1.308 GB, free: 13.77 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005243/0.3445, allocations: 131.4 kB / 1.308 GB, free: 13.64 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.566e-05/0.3446, allocations: 35.84 kB / 1.308 GB, free: 13.6 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.081e-05/0.3446, allocations: 7.984 kB / 1.308 GB, free: 13.59 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.768e-05/0.3447, allocations: 15.94 kB / 1.308 GB, free: 13.58 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.799e-05/0.3447, allocations: 19.97 kB / 1.308 GB, free: 13.56 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 8.937e-06/0.3448, allocations: 0 / 1.308 GB, free: 13.56 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002882/0.345, allocations: 119.8 kB / 1.308 GB, free: 13.44 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.547e-05/0.3451, allocations: 7.922 kB / 1.308 GB, free: 13.43 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.656e-05/0.3451, allocations: 19.94 kB / 1.308 GB, free: 13.41 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001948/0.3453, allocations: 91.92 kB / 1.308 GB, free: 13.32 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3453, allocations: 0 / 1.308 GB, free: 13.32 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.093e-06/0.3453, allocations: 0 / 1.308 GB, free: 13.32 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.399e-06/0.3453, allocations: 3.938 kB / 1.308 GB, free: 13.32 MB / 1.014 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.0004176/0.3457, allocations: 347.4 kB / 1.308 GB, free: 12.93 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.3457, allocations: 12.03 kB / 1.308 GB, free: 12.92 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.623e-05/0.3458, allocations: 34.75 kB / 1.308 GB, free: 12.88 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002082/0.346, allocations: 16.88 kB / 1.308 GB, free: 12.86 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.3461, allocations: 172.3 kB / 1.309 GB, free: 12.66 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.3461, allocations: 4.375 kB / 1.309 GB, free: 12.65 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.3462, allocations: 4.375 kB / 1.309 GB, free: 12.65 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.3463, allocations: 76.12 kB / 1.309 GB, free: 12.56 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.3463, allocations: 3.984 kB / 1.309 GB, free: 12.55 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.3463, allocations: 4 kB / 1.309 GB, free: 12.55 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.3463, allocations: 0 / 1.309 GB, free: 12.55 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.162e-05/0.3464, allocations: 15.92 kB / 1.309 GB, free: 12.54 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006104/0.347, allocations: 462.9 kB / 1.309 GB, free: 12.02 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/0.3471, allocations: 75.72 kB / 1.309 GB, free: 11.92 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.97e-05/0.3472, allocations: 26.72 kB / 1.309 GB, free: 11.88 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.036e-05/0.3472, allocations: 0 / 1.309 GB, free: 11.88 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.3472, allocations: 38.5 kB / 1.309 GB, free: 11.84 MB / 1.014 GB Notification: Performance of pre-optimization done (n=5): time 9.52e-07/0.3472, allocations: 0 / 1.309 GB, free: 11.84 MB / 1.014 GB Notification: Performance of matching and sorting (n=7): time 0.0006112/0.3478, allocations: 306.2 kB / 1.31 GB, free: 11.48 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.076e-05/0.3479, allocations: 102.8 kB / 1.31 GB, free: 11.36 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.893e-05/0.348, allocations: 97.86 kB / 1.31 GB, free: 11.25 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.348, allocations: 25.7 kB / 1.31 GB, free: 11.22 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.203e-05/0.3481, allocations: 100 kB / 1.31 GB, free: 11.12 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.07e-05/0.3481, allocations: 19.86 kB / 1.31 GB, free: 11.1 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.73e-05/0.3481, allocations: 33.91 kB / 1.31 GB, free: 11.06 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.3483, allocations: 322.7 kB / 1.31 GB, free: 10.74 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.385e-05/0.3483, allocations: 19.92 kB / 1.31 GB, free: 10.72 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.801e-05/0.3484, allocations: 45.16 kB / 1.31 GB, free: 10.66 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.764e-05/0.3485, allocations: 77.02 kB / 1.31 GB, free: 10.56 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3485, allocations: 0 / 1.31 GB, free: 10.56 MB / 1.014 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001479/0.3486, allocations: 98.06 kB / 1.311 GB, free: 10.46 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.3486, allocations: 5.719 kB / 1.311 GB, free: 10.46 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.197e-06/0.3486, allocations: 0 / 1.311 GB, free: 10.46 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.3486, allocations: 4.219 kB / 1.311 GB, free: 10.45 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.12e-05/0.3487, allocations: 23.98 kB / 1.311 GB, free: 10.43 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.3487, allocations: 4 kB / 1.311 GB, free: 10.43 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.971e-05/0.3488, allocations: 7.984 kB / 1.311 GB, free: 10.42 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.3488, allocations: 15.94 kB / 1.311 GB, free: 10.4 MB / 1.014 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.381e-05/0.3489, allocations: 117.8 kB / 1.311 GB, free: 10.28 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.533e-05/0.3489, allocations: 11.95 kB / 1.311 GB, free: 10.27 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.314e-05/0.349, allocations: 7.562 kB / 1.311 GB, free: 10.25 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.349, allocations: 3.984 kB / 1.311 GB, free: 10.25 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.349, allocations: 8 kB / 1.311 GB, free: 10.24 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.349, allocations: 0 / 1.311 GB, free: 10.24 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003559/0.3493, allocations: 177.6 kB / 1.311 GB, free: 10.02 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3493, allocations: 0 / 1.311 GB, free: 10.02 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.34e-05/0.3494, allocations: 16 kB / 1.311 GB, free: 10 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3494, allocations: 0 / 1.311 GB, free: 10 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.3494, allocations: 0 / 1.311 GB, free: 10 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.582e-06/0.3494, allocations: 4 kB / 1.311 GB, free: 9.996 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.3494, allocations: 7.922 kB / 1.311 GB, free: 9.988 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002581/0.3497, allocations: 330 kB / 1.311 GB, free: 9.648 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.329e-05/0.3498, allocations: 81.14 kB / 1.311 GB, free: 9.551 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.3498, allocations: 4 kB / 1.311 GB, free: 9.547 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001788/0.35, allocations: 8 kB / 1.311 GB, free: 9.539 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.089e-05/0.35, allocations: 7.922 kB / 1.311 GB, free: 9.531 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.35, allocations: 4 kB / 1.311 GB, free: 9.527 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.256e-05/0.35, allocations: 83.28 kB / 1.311 GB, free: 9.445 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/0.35, allocations: 3.938 kB / 1.311 GB, free: 9.441 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003159/0.3503, allocations: 12 kB / 1.311 GB, free: 9.43 MB / 1.014 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.0005828/0.3509, allocations: 0.8633 MB / 1.312 GB, free: 8.535 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001219/0.3511, allocations: 51.84 kB / 1.312 GB, free: 8.484 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3511, allocations: 0 / 1.312 GB, free: 8.484 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 3.139e-05/0.3511, allocations: 19.98 kB / 1.312 GB, free: 8.465 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004534/0.3515, allocations: 7.938 kB / 1.312 GB, free: 8.457 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001781/0.3533, allocations: 1.706 MB / 1.314 GB, free: 6.637 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003445/0.3537, allocations: 0.6846 MB / 1.315 GB, free: 5.926 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.993e-05/0.3537, allocations: 8 kB / 1.315 GB, free: 5.918 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.689e-05/0.3537, allocations: 15.44 kB / 1.315 GB, free: 5.906 MB / 1.014 GB Notification: Performance of SimCode: time 5.41e-07/0.3538, allocations: 0 / 1.315 GB, free: 5.906 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02571/0.3795, allocations: 1.723 MB / 1.316 GB, free: 4.363 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.964/8.344, allocations: 7.422 kB / 1.316 GB, free: 4.359 MB / 1.014 GB " [Timeout remaining time 292] (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_2/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: 14.808796635828912]