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.00129/0.00129, allocations: 108.9 kB / 16.45 MB, free: 6.453 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.001338/0.001338, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.403/1.403, allocations: 230.6 MB / 252.8 MB, free: 8.953 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 3.01/3.01, allocations: 0.49 GB / 0.7916 GB, free: 33.43 MB / 0.6231 GB " [Timeout remaining time 177] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_12_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",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.001965/0.001965, allocations: 68.06 kB / 1.149 GB, free: 26.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3154, allocations: 176.1 MB / 1.321 GB, free: 3.434 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002593/0.318, allocations: 1.3 MB / 1.322 GB, free: 2.125 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003614/0.3216, allocations: 2.554 MB / 1.325 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.18e-05/0.3216, allocations: 0 / 1.325 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.035e-05/0.3217, allocations: 7.922 kB / 1.325 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.119e-05/0.3217, allocations: 4 kB / 1.325 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006665/0.3224, allocations: 135.3 kB / 1.325 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001113/0.3225, allocations: 27.92 kB / 1.325 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.116e-05/0.3225, allocations: 4 kB / 1.325 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 5.714e-05/0.3226, allocations: 19.97 kB / 1.325 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.832e-05/0.3227, allocations: 19.92 kB / 1.325 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.102e-05/0.3227, allocations: 0 / 1.325 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003383/0.323, allocations: 127.7 kB / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.457e-05/0.323, allocations: 8 kB / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.83e-05/0.3231, allocations: 19.91 kB / 1.325 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002515/0.3233, allocations: 88 kB / 1.325 GB, free: 15.1 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3233, allocations: 0 / 1.325 GB, free: 15.1 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.163e-06/0.3233, allocations: 0 / 1.325 GB, free: 15.1 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.3233, allocations: 0 / 1.325 GB, free: 15.1 MB / 1.029 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.0004733/0.3238, allocations: 351.3 kB / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.3239, allocations: 19.91 kB / 1.325 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.345e-05/0.3239, allocations: 34.75 kB / 1.325 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002111/0.3241, allocations: 16.94 kB / 1.325 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.3243, allocations: 172.2 kB / 1.326 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.3243, allocations: 384 / 1.326 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.505e-05/0.3243, allocations: 8.375 kB / 1.326 GB, free: 14.42 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.3244, allocations: 72.19 kB / 1.326 GB, free: 14.33 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.3244, allocations: 0 / 1.326 GB, free: 14.33 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.3245, allocations: 4 kB / 1.326 GB, free: 14.33 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.3245, allocations: 0 / 1.326 GB, free: 14.33 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.262e-05/0.3245, allocations: 15.94 kB / 1.326 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006412/0.3251, allocations: 462.9 kB / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001545/0.3253, allocations: 75.66 kB / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.002e-05/0.3253, allocations: 26.64 kB / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/0.3254, allocations: 0 / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.3254, allocations: 42.62 kB / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.3254, allocations: 0 / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0007211/0.3261, allocations: 302.2 kB / 1.327 GB, free: 13.26 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.288e-05/0.3262, allocations: 102.8 kB / 1.327 GB, free: 13.14 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.403e-05/0.3263, allocations: 106.2 kB / 1.327 GB, free: 13.02 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.3263, allocations: 29.7 kB / 1.327 GB, free: 12.99 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.884e-05/0.3264, allocations: 92.03 kB / 1.327 GB, free: 12.89 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.86e-05/0.3264, allocations: 28.05 kB / 1.327 GB, free: 12.87 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.385e-05/0.3264, allocations: 25.72 kB / 1.327 GB, free: 12.84 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001995/0.3266, allocations: 322.8 kB / 1.327 GB, free: 12.51 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.027e-05/0.3267, allocations: 12 kB / 1.327 GB, free: 12.5 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.409e-05/0.3267, allocations: 53.08 kB / 1.327 GB, free: 12.43 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001051/0.3268, allocations: 77.14 kB / 1.327 GB, free: 12.34 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.3268, allocations: 0 / 1.327 GB, free: 12.34 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001633/0.327, allocations: 101.5 kB / 1.327 GB, free: 12.23 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.327, allocations: 4 kB / 1.327 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.327, allocations: 4.125 kB / 1.327 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.327, allocations: 4 kB / 1.327 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.003e-05/0.3271, allocations: 19.94 kB / 1.327 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.3271, allocations: 7.938 kB / 1.327 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.005e-05/0.3272, allocations: 11.88 kB / 1.327 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.3272, allocations: 7.938 kB / 1.327 GB, free: 12.17 MB / 1.029 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 0.0001091/0.3273, allocations: 113.8 kB / 1.328 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.239e-05/0.3274, allocations: 4 kB / 1.328 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.883e-05/0.3274, allocations: 11.56 kB / 1.328 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.3274, allocations: 8 kB / 1.328 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.3274, allocations: 0 / 1.328 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.3274, allocations: 0 / 1.328 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003684/0.3278, allocations: 173.6 kB / 1.328 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3278, allocations: 0 / 1.328 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.222e-05/0.3279, allocations: 23.92 kB / 1.328 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.3279, allocations: 0 / 1.328 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.3279, allocations: 4 kB / 1.328 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.3279, allocations: 0 / 1.328 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3279, allocations: 0 / 1.328 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003017/0.3282, allocations: 345.9 kB / 1.328 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.803e-05/0.3283, allocations: 81.11 kB / 1.328 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.3283, allocations: 4.031 kB / 1.328 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000177/0.3285, allocations: 8 kB / 1.328 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.095e-05/0.3285, allocations: 3.938 kB / 1.328 GB, free: 11.31 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.3285, allocations: 4 kB / 1.328 GB, free: 11.31 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.109e-05/0.3286, allocations: 87.64 kB / 1.328 GB, free: 11.22 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3286, allocations: 0 / 1.328 GB, free: 11.22 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003229/0.3289, allocations: 12 kB / 1.328 GB, free: 11.21 MB / 1.029 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.0007183/0.3296, allocations: 0.8637 MB / 1.329 GB, free: 10.32 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001423/0.3297, allocations: 43.91 kB / 1.329 GB, free: 10.27 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3297, allocations: 0 / 1.329 GB, free: 10.27 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.325e-05/0.3298, allocations: 23.94 kB / 1.329 GB, free: 10.25 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004353/0.3302, allocations: 14.17 kB / 1.329 GB, free: 10.24 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00194/0.3322, allocations: 1.7 MB / 1.331 GB, free: 8.422 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000362/0.3325, allocations: 0.6807 MB / 1.332 GB, free: 7.715 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.129e-05/0.3326, allocations: 11.98 kB / 1.332 GB, free: 7.703 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.456e-05/0.3326, allocations: 19.38 kB / 1.332 GB, free: 7.684 MB / 1.029 GB Notification: Performance of SimCode: time 5.01e-07/0.3326, allocations: 0 / 1.332 GB, free: 7.684 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02584/0.3585, allocations: 1.732 MB / 1.333 GB, free: 6.133 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.52/7.879, allocations: 17.75 kB / 1.333 GB, free: 6.117 MB / 1.029 GB " [Timeout remaining time 292] (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: 14.068878235993907]