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.0009463/0.0009463, allocations: 76.44 kB / 19.17 MB, free: 0.7383 MB / 13.93 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.0009019/0.0009019, allocations: 173.2 kB / 22.46 MB, free: 2.098 MB / 18.57 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 0.9453/0.9453, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.658/1.658, allocations: 359 MB / 0.6037 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 0.9504 GB, free: 3.543 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.737e-05/1.924e-05, allocations: 2.281 kB / 0.9504 GB, free: 3.539 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001667/0.001686, allocations: 1.29 MB / 0.9517 GB, free: 2.23 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.002178/0.003864, allocations: 2.379 MB / 0.954 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.909e-05/0.003893, allocations: 0 / 0.954 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 1.594e-05/0.003909, allocations: 0 / 0.954 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 4.704e-05/0.003956, allocations: 7.875 kB / 0.954 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005089/0.004465, allocations: 139.2 kB / 0.9542 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 7.274e-05/0.004538, allocations: 39.83 kB / 0.9542 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 4.097e-05/0.004579, allocations: 8 kB / 0.9542 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 5.546e-05/0.004634, allocations: 23.92 kB / 0.9542 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 5.779e-05/0.004692, allocations: 11.97 kB / 0.9543 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.855e-05/0.00471, allocations: 4 kB / 0.9543 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002163/0.004927, allocations: 103.7 kB / 0.9544 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 1.639e-05/0.004943, allocations: 7.984 kB / 0.9544 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 2.684e-05/0.00497, allocations: 15.98 kB / 0.9544 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0001822/0.005152, allocations: 83.7 kB / 0.9545 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.005157, allocations: 4 kB / 0.9545 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.054e-06/0.005159, allocations: 0 / 0.9545 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.77e-06/0.005164, allocations: 4 kB / 0.9545 GB, free: 15.39 MB / 0.9167 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.0003983/0.005563, allocations: 270.3 kB / 0.9547 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.005613, allocations: 12.03 kB / 0.9547 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.875e-05/0.005652, allocations: 34.75 kB / 0.9548 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001645/0.005817, allocations: 12.92 kB / 0.9548 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.258e-05/0.005899, allocations: 117.6 kB / 0.9549 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.005913, allocations: 384 / 0.9549 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.844e-05/0.005941, allocations: 12.31 kB / 0.9549 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.00611, allocations: 149.9 kB / 0.955 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.00612, allocations: 192 / 0.955 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.006132, allocations: 11.88 kB / 0.9551 GB, free: 14.69 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.006138, allocations: 0 / 0.9551 GB, free: 14.69 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.669e-05/0.006185, allocations: 15.92 kB / 0.9551 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008345/0.007019, allocations: 404.4 kB / 0.9555 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.007167, allocations: 75.69 kB / 0.9555 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.966e-05/0.007196, allocations: 22.7 kB / 0.9556 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.296e-05/0.007209, allocations: 0 / 0.9556 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.007236, allocations: 38.5 kB / 0.9556 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=5): time 1.813e-06/0.007237, allocations: 0 / 0.9556 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0005253/0.007763, allocations: 229.1 kB / 0.9558 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.007803, allocations: 106.8 kB / 0.9559 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.36e-05/0.007857, allocations: 101.8 kB / 0.956 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.007868, allocations: 29.69 kB / 0.956 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.501e-05/0.007903, allocations: 88.09 kB / 0.9561 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.743e-05/0.007921, allocations: 31.73 kB / 0.9562 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.273e-05/0.007954, allocations: 25.7 kB / 0.9562 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.207e-05/0.008026, allocations: 322.8 kB / 0.9565 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.976e-05/0.008045, allocations: 12.3 kB / 0.9565 GB, free: 13.03 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.401e-05/0.008089, allocations: 61.14 kB / 0.9566 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.338e-05/0.008153, allocations: 73.03 kB / 0.9566 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.008154, allocations: 0 / 0.9566 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.904e-05/0.008253, allocations: 93.5 kB / 0.9567 GB, free: 12.76 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.008268, allocations: 8 kB / 0.9567 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.008274, allocations: 4.125 kB / 0.9567 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.008289, allocations: 4 kB / 0.9567 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.345e-05/0.008342, allocations: 24.59 kB / 0.9568 GB, free: 12.72 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.008348, allocations: 3.938 kB / 0.9568 GB, free: 12.72 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.165e-05/0.00837, allocations: 4 kB / 0.9568 GB, free: 12.71 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.008376, allocations: 4 kB / 0.9568 GB, free: 12.71 MB / 0.9167 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 5.49e-05/0.008431, allocations: 121.7 kB / 0.9569 GB, free: 12.58 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.977e-05/0.008461, allocations: 4 kB / 0.9569 GB, free: 12.58 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.464e-05/0.008486, allocations: 7.812 kB / 0.9569 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.008489, allocations: 3.984 kB / 0.9569 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.008494, allocations: 8 kB / 0.9569 GB, free: 12.56 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.008498, allocations: 3.984 kB / 0.9569 GB, free: 12.56 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000218/0.008716, allocations: 148.6 kB / 0.957 GB, free: 12.37 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.008717, allocations: 0 / 0.957 GB, free: 12.37 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.883e-05/0.008766, allocations: 23.92 kB / 0.9571 GB, free: 12.35 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.008768, allocations: 0 / 0.9571 GB, free: 12.35 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.008775, allocations: 3.938 kB / 0.9571 GB, free: 12.34 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.008778, allocations: 4 kB / 0.9571 GB, free: 12.34 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.008779, allocations: 0 / 0.9571 GB, free: 12.34 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001853/0.008965, allocations: 326 kB / 0.9574 GB, free: 12 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.092e-05/0.008996, allocations: 11.95 kB / 0.9574 GB, free: 11.99 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.009009, allocations: 4 kB / 0.9574 GB, free: 11.99 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.009109, allocations: 8.031 kB / 0.9574 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.829e-05/0.009128, allocations: 7.938 kB / 0.9574 GB, free: 11.97 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-06/0.009133, allocations: 0 / 0.9574 GB, free: 11.97 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.416e-05/0.009167, allocations: 87.27 kB / 0.9575 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.009167, allocations: 0 / 0.9575 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002146/0.009381, allocations: 12 kB / 0.9575 GB, free: 11.88 MB / 0.9167 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.0004938/0.009875, allocations: 0.8667 MB / 0.9584 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001285/0.01, allocations: 43.92 kB / 0.9584 GB, free: 10.94 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.01001, allocations: 0 / 0.9584 GB, free: 10.94 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.869e-05/0.01003, allocations: 15.94 kB / 0.9584 GB, free: 10.92 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004122/0.01044, allocations: 14.95 kB / 0.9584 GB, free: 10.91 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/0.01157, allocations: 1.622 MB / 0.96 GB, free: 9.168 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.348e-05/0.01163, allocations: 75.27 kB / 0.9601 GB, free: 9.074 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.492e-05/0.01166, allocations: 8.062 kB / 0.9601 GB, free: 9.066 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.645e-05/0.0117, allocations: 16.5 kB / 0.9601 GB, free: 9.051 MB / 0.9167 GB Notification: Performance of SimCode: time 1.032e-06/0.0117, allocations: 0 / 0.9601 GB, free: 9.051 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01706/0.02875, allocations: 2.387 MB / 0.9624 GB, free: 6.867 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.919/6.948, allocations: 2.031 kB / 0.9624 GB, free: 6.867 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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: 10.991492286324501]