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.000877/0.000877, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008329/0.0008329, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8882/0.8882, allocations: 177.1 MB / 203.5 MB, free: 5.715 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.673/1.673, allocations: 359 MB / 0.6044 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: 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.032e-06/1.032e-06, allocations: 0 / 0.9517 GB, free: 3.02 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.797e-05/1.901e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.016 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001404/0.001423, allocations: 1.278 MB / 0.9529 GB, free: 1.719 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.00192/0.003343, allocations: 2.379 MB / 0.9553 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.527e-05/0.003368, allocations: 7.938 kB / 0.9553 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 1.7e-05/0.003385, allocations: 0 / 0.9553 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 4.13e-05/0.003427, allocations: 3.938 kB / 0.9553 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004572/0.003884, allocations: 131.3 kB / 0.9554 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 7.153e-05/0.003955, allocations: 39.84 kB / 0.9554 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 3.111e-05/0.003986, allocations: 0 / 0.9554 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 5.568e-05/0.004042, allocations: 31.84 kB / 0.9555 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 5.281e-05/0.004095, allocations: 15.97 kB / 0.9555 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.035e-05/0.004105, allocations: 0 / 0.9555 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001932/0.004298, allocations: 103.7 kB / 0.9556 GB, free: 15 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 1.529e-05/0.004314, allocations: 15.98 kB / 0.9556 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 2.074e-05/0.004334, allocations: 7.984 kB / 0.9556 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0001542/0.004489, allocations: 83.72 kB / 0.9557 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.004491, allocations: 0 / 0.9557 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of FrontEnd: time 6.12e-07/0.004491, allocations: 3.938 kB / 0.9557 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.004495, allocations: 0 / 0.9557 GB, free: 14.89 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.0003246/0.00482, allocations: 278.2 kB / 0.956 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.004854, allocations: 8.031 kB / 0.956 GB, free: 14.58 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.004993, allocations: 24.86 kB / 0.956 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.757e-05/0.005061, allocations: 101.8 kB / 0.9561 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.005074, allocations: 8.375 kB / 0.9561 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.15e-05/0.005095, allocations: 8.328 kB / 0.9561 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.005227, allocations: 149.9 kB / 0.9562 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.005236, allocations: 8.062 kB / 0.9563 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.005249, allocations: 8.125 kB / 0.9563 GB, free: 14.22 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.005254, allocations: 4 kB / 0.9563 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.243e-05/0.005286, allocations: 4 kB / 0.9563 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004109/0.005697, allocations: 380.9 kB / 0.9566 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.005801, allocations: 75.66 kB / 0.9567 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.276e-05/0.005824, allocations: 26.78 kB / 0.9567 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.287e-05/0.005836, allocations: 7.922 kB / 0.9567 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.005856, allocations: 38.56 kB / 0.9568 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.005857, allocations: 0 / 0.9568 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0004453/0.006302, allocations: 229 kB / 0.957 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/0.006343, allocations: 106.8 kB / 0.9571 GB, free: 13.22 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.187e-05/0.006395, allocations: 101.8 kB / 0.9572 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.006406, allocations: 25.7 kB / 0.9572 GB, free: 13.08 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.543e-05/0.006441, allocations: 100.3 kB / 0.9573 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.568e-05/0.006457, allocations: 27.75 kB / 0.9573 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.609e-05/0.006493, allocations: 25.7 kB / 0.9574 GB, free: 12.92 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002071/0.0067, allocations: 314.8 kB / 0.9577 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.036e-05/0.006721, allocations: 12 kB / 0.9577 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.338e-05/0.006754, allocations: 49.14 kB / 0.9577 GB, free: 12.53 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.457e-05/0.006819, allocations: 73.08 kB / 0.9578 GB, free: 12.44 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.00682, allocations: 0 / 0.9578 GB, free: 12.44 MB / 0.9167 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.656e-05/0.006917, allocations: 105.4 kB / 0.9579 GB, free: 12.33 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.006928, allocations: 8 kB / 0.9579 GB, free: 12.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.006933, allocations: 0 / 0.9579 GB, free: 12.32 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.006944, allocations: 4 kB / 0.9579 GB, free: 12.32 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.466e-05/0.006999, allocations: 23.92 kB / 0.9579 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.007004, allocations: 0 / 0.9579 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.251e-05/0.007027, allocations: 4 kB / 0.9579 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-06/0.007033, allocations: 11.94 kB / 0.9579 GB, free: 12.28 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.541e-05/0.007088, allocations: 118 kB / 0.9581 GB, free: 12.15 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.217e-05/0.007121, allocations: 11.88 kB / 0.9581 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.144e-05/0.007142, allocations: 7.812 kB / 0.9581 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.007144, allocations: 0 / 0.9581 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.007149, allocations: 4.609 kB / 0.9581 GB, free: 12.13 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.007153, allocations: 3.984 kB / 0.9581 GB, free: 12.13 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001935/0.007346, allocations: 121.3 kB / 0.9582 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.007347, allocations: 3.938 kB / 0.9582 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.6e-05/0.007393, allocations: 15.94 kB / 0.9582 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.007396, allocations: 4 kB / 0.9582 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-06/0.007402, allocations: 0 / 0.9582 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.007404, allocations: 7.984 kB / 0.9582 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.007406, allocations: 4 kB / 0.9582 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001769/0.007583, allocations: 326 kB / 0.9585 GB, free: 11.61 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.806e-05/0.007611, allocations: 19.92 kB / 0.9586 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.007e-05/0.007621, allocations: 0 / 0.9586 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.43e-05/0.007716, allocations: 8.062 kB / 0.9586 GB, free: 11.58 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.383e-05/0.00773, allocations: 3.984 kB / 0.9586 GB, free: 11.58 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.007736, allocations: 8 kB / 0.9586 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.204e-05/0.007758, allocations: 79.28 kB / 0.9587 GB, free: 11.49 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.007758, allocations: 0 / 0.9587 GB, free: 11.49 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002045/0.007962, allocations: 12 kB / 0.9587 GB, free: 11.48 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.0001032/0.008066, allocations: 115.2 kB / 0.9588 GB, free: 11.36 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 8.794e-05/0.008153, allocations: 43.86 kB / 0.9588 GB, free: 11.31 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.008155, allocations: 0 / 0.9588 GB, free: 11.31 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.592e-05/0.008171, allocations: 12 kB / 0.9588 GB, free: 11.3 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002989/0.00847, allocations: 16.25 kB / 0.9588 GB, free: 11.29 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003988/0.008869, allocations: 292.7 kB / 0.9591 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.964e-05/0.008918, allocations: 67.34 kB / 0.9592 GB, free: 10.88 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.219e-05/0.008941, allocations: 12.5 kB / 0.9592 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of SimCode: time 5.31e-07/0.008941, allocations: 4 kB / 0.9592 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of Templates: time 0.001554/0.0105, allocations: 0.8123 MB / 0.96 GB, free: 10.05 MB / 0.9167 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: 6.391108373180032]