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.001726/0.001726, allocations: 84.12 kB / 19.18 MB, free: 2.527 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.002224/0.002224, allocations: 165.3 kB / 22.46 MB, free: 5.359 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.505/1.505, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] 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 2.833/2.833, allocations: 359 MB / 0.6037 GB, free: 14.99 MB / 0.5762 GB " [Timeout remaining time 177] 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: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 0.9509 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.432e-05/2.565e-05, allocations: 6.281 kB / 0.9509 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002479/0.002505, allocations: 1.274 MB / 0.9522 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003699/0.006204, allocations: 2.371 MB / 0.9545 GB, free: 7.926 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.441e-05/0.006238, allocations: 0 / 0.9545 GB, free: 7.926 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.576e-05/0.006264, allocations: 3.938 kB / 0.9545 GB, free: 7.922 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.95e-05/0.006324, allocations: 11.91 kB / 0.9545 GB, free: 7.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007407/0.007064, allocations: 135.2 kB / 0.9546 GB, free: 7.777 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.318e-05/0.007148, allocations: 39.84 kB / 0.9547 GB, free: 7.738 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.738e-05/0.007185, allocations: 0 / 0.9547 GB, free: 7.738 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.494e-05/0.00727, allocations: 23.97 kB / 0.9547 GB, free: 7.715 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.981e-05/0.00734, allocations: 19.97 kB / 0.9547 GB, free: 7.695 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.007354, allocations: 0 / 0.9547 GB, free: 7.695 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003016/0.007656, allocations: 103.7 kB / 0.9548 GB, free: 7.594 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.016e-05/0.007676, allocations: 15.94 kB / 0.9548 GB, free: 7.578 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.784e-05/0.007704, allocations: 7.984 kB / 0.9548 GB, free: 7.57 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002322/0.007936, allocations: 95.69 kB / 0.9549 GB, free: 7.477 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.007939, allocations: 0 / 0.9549 GB, free: 7.477 MB / 0.8575 GB Notification: Performance of FrontEnd: time 9.02e-07/0.00794, allocations: 0 / 0.9549 GB, free: 7.477 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.007945, allocations: 0 / 0.9549 GB, free: 7.477 MB / 0.8575 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.000451/0.008396, allocations: 282.1 kB / 0.9552 GB, free: 7.172 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.00843, allocations: 11.97 kB / 0.9552 GB, free: 7.16 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002319/0.008662, allocations: 16.92 kB / 0.9552 GB, free: 7.145 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.008771, allocations: 105.8 kB / 0.9553 GB, free: 7.016 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.008786, allocations: 4.375 kB / 0.9553 GB, free: 7.012 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.043e-05/0.008817, allocations: 12.33 kB / 0.9553 GB, free: 7 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002117/0.009028, allocations: 145.9 kB / 0.9555 GB, free: 6.824 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.009039, allocations: 192 / 0.9555 GB, free: 6.824 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.009054, allocations: 4.125 kB / 0.9555 GB, free: 6.82 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.902e-06/0.009061, allocations: 4 kB / 0.9555 GB, free: 6.816 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.602e-05/0.009107, allocations: 11.92 kB / 0.9555 GB, free: 6.805 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000638/0.009745, allocations: 384.9 kB / 0.9559 GB, free: 6.391 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/0.009908, allocations: 75.66 kB / 0.9559 GB, free: 6.289 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.711e-05/0.009945, allocations: 18.7 kB / 0.956 GB, free: 6.262 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.009962, allocations: 7.875 kB / 0.956 GB, free: 6.254 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/0.009997, allocations: 38.56 kB / 0.956 GB, free: 6.207 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.393e-06/0.009999, allocations: 0 / 0.956 GB, free: 6.207 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0007023/0.0107, allocations: 229.5 kB / 0.9562 GB, free: 5.949 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.309e-05/0.01078, allocations: 106.8 kB / 0.9563 GB, free: 5.82 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.63e-05/0.01087, allocations: 101.8 kB / 0.9564 GB, free: 5.711 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/0.01089, allocations: 29.95 kB / 0.9565 GB, free: 5.676 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.265e-05/0.01095, allocations: 92.09 kB / 0.9565 GB, free: 5.582 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.806e-05/0.01097, allocations: 31.73 kB / 0.9566 GB, free: 5.551 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.195e-05/0.01103, allocations: 33.64 kB / 0.9566 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.01118, allocations: 310.8 kB / 0.9569 GB, free: 5.199 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.676e-05/0.01121, allocations: 15.98 kB / 0.9569 GB, free: 5.184 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.258e-05/0.01128, allocations: 53.08 kB / 0.957 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/0.01138, allocations: 73.09 kB / 0.957 GB, free: 5.023 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.01138, allocations: 4 kB / 0.957 GB, free: 5.02 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001599/0.01154, allocations: 97.44 kB / 0.9571 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.01156, allocations: 8 kB / 0.9571 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.01156, allocations: 0 / 0.9571 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.01158, allocations: 4 kB / 0.9571 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.394e-05/0.01166, allocations: 23.92 kB / 0.9572 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.01167, allocations: 0 / 0.9572 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.36e-05/0.01171, allocations: 8 kB / 0.9572 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.01173, allocations: 4 kB / 0.9572 GB, free: 4.871 MB / 0.8575 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 9.119e-05/0.01182, allocations: 118 kB / 0.9573 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.925e-05/0.01189, allocations: 11.92 kB / 0.9573 GB, free: 4.734 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.803e-05/0.01191, allocations: 7.812 kB / 0.9573 GB, free: 4.73 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.01192, allocations: 0 / 0.9573 GB, free: 4.73 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.01192, allocations: 4 kB / 0.9573 GB, free: 4.727 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.01193, allocations: 3.938 kB / 0.9573 GB, free: 4.723 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003161/0.01224, allocations: 117.4 kB / 0.9574 GB, free: 4.578 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.01225, allocations: 4 kB / 0.9574 GB, free: 4.574 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.34e-05/0.01234, allocations: 19.92 kB / 0.9574 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.01234, allocations: 4 kB / 0.9575 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.01235, allocations: 4 kB / 0.9575 GB, free: 4.547 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.01235, allocations: 0 / 0.9575 GB, free: 4.547 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.01235, allocations: 4 kB / 0.9575 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002865/0.01264, allocations: 334 kB / 0.9578 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.637e-05/0.01268, allocations: 11.94 kB / 0.9578 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.01269, allocations: 0 / 0.9578 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001877/0.01288, allocations: 8.031 kB / 0.9578 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.631e-05/0.0129, allocations: 3.938 kB / 0.9578 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.0129, allocations: 8 kB / 0.9578 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.789e-05/0.01295, allocations: 83.64 kB / 0.9579 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9.1e-08/0.01295, allocations: 4 kB / 0.9579 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003413/0.01329, allocations: 16 kB / 0.9579 GB, free: 4.066 MB / 0.8575 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.0001481/0.01344, allocations: 107.4 kB / 0.958 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001312/0.01357, allocations: 47.8 kB / 0.9581 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.01358, allocations: 0 / 0.9581 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.388e-05/0.01361, allocations: 19.98 kB / 0.9581 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004851/0.0141, allocations: 13.73 kB / 0.9581 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006205/0.01472, allocations: 266.5 kB / 0.9583 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.78e-05/0.01479, allocations: 67.34 kB / 0.9584 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.752e-05/0.01484, allocations: 15.97 kB / 0.9584 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.16e-05/0.01487, allocations: 12.5 kB / 0.9584 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of SimCode: time 3.31e-07/0.01487, allocations: 0 / 0.9584 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of Templates: time 0.003629/0.0185, allocations: 0.6442 MB / 0.9591 GB, free: 2.875 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) [Timeout 400] 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: 8.056919500231743]