Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.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.00112/0.00112, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001636/0.002755, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001147/0.001147, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001459/0.002606, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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/1, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08701/1.087, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.87/1.87, allocations: 378.2 MB / 0.6076 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5377/2.407, allocations: 123.3 MB / 0.728 GB, free: 5.832 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volSim.T|volExa.T|relErr.y",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volSim.T|volExa.T|relErr.y",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0.5469 kB / 0.7293 GB, free: 4.535 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.109e-05/3.283e-05, allocations: 6.25 kB / 0.7293 GB, free: 4.527 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.1728/0.1728, allocations: 149.6 MB / 0.8755 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.004399/0.1772, allocations: 3.585 MB / 0.879 GB, free: 10.99 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003982/0.1776, allocations: 43.62 kB / 0.879 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.000524/0.1781, allocations: 246.2 kB / 0.8792 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001385/0.1795, allocations: 1.002 MB / 0.8802 GB, free: 9.695 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009613/0.1805, allocations: 0.6958 MB / 0.8809 GB, free: 9 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001543/0.182, allocations: 2.217 MB / 0.8831 GB, free: 6.781 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009096/0.1829, allocations: 0.6419 MB / 0.8837 GB, free: 6.152 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001559/0.1845, allocations: 1.399 MB / 0.885 GB, free: 4.82 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005305/0.185, allocations: 0.5725 MB / 0.8856 GB, free: 4.246 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 7.325e-05/0.1851, allocations: 72 kB / 0.8857 GB, free: 4.176 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004932/0.1856, allocations: 375.1 kB / 0.886 GB, free: 3.809 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002015/0.1858, allocations: 295.2 kB / 0.8863 GB, free: 3.52 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0002407/0.186, allocations: 279.5 kB / 0.8866 GB, free: 3.246 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0007539/0.1868, allocations: 0.802 MB / 0.8874 GB, free: 2.441 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.389e-05/0.1868, allocations: 0 / 0.8874 GB, free: 2.441 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.283e-06/0.1868, allocations: 0 / 0.8874 GB, free: 2.441 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.652e-05/0.1868, allocations: 4 kB / 0.8874 GB, free: 2.438 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.002998/0.1898, allocations: 1.196 MB / 0.8885 GB, free: 1.215 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.1898, allocations: 12.03 kB / 0.8885 GB, free: 1.203 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001002/0.1908, allocations: 393.3 kB / 0.8889 GB, free: 0.8008 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006268/0.1915, allocations: 0.5351 MB / 0.8894 GB, free: 244 kB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.432e-05/0.1915, allocations: 49.44 kB / 0.8895 GB, free: 192 kB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.061e-05/0.1916, allocations: 63.95 kB / 0.8895 GB, free: 128 kB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005011/0.1921, allocations: 0.5581 MB / 0.8901 GB, free: 15.51 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.1921, allocations: 0 / 0.8901 GB, free: 15.51 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.556e-05/0.1921, allocations: 28 kB / 0.8901 GB, free: 15.48 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.49e-05/0.1922, allocations: 25.31 kB / 0.8901 GB, free: 15.45 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002115/0.1924, allocations: 162.3 kB / 0.8903 GB, free: 15.3 MB / 0.8698 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001423/0.1938, allocations: 1.163 MB / 0.8914 GB, free: 14.11 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003151/0.1941, allocations: 259.1 kB / 0.8917 GB, free: 13.85 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.926e-05/0.1942, allocations: 83.59 kB / 0.8918 GB, free: 13.76 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.302e-05/0.1943, allocations: 23.98 kB / 0.8918 GB, free: 13.74 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.1943, allocations: 38.56 kB / 0.8918 GB, free: 13.69 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=41): time 1.573e-06/0.1943, allocations: 0 / 0.8918 GB, free: 13.69 MB / 0.8698 GB Notification: Performance of matching and sorting (n=46): time 0.001152/0.1954, allocations: 0.7214 MB / 0.8925 GB, free: 12.94 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.1955, allocations: 63.09 kB / 0.8926 GB, free: 12.87 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002461/0.1957, allocations: 419.2 kB / 0.893 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.026e-05/0.1958, allocations: 37.7 kB / 0.893 GB, free: 12.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.1959, allocations: 274.1 kB / 0.8933 GB, free: 12.13 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.907e-05/0.196, allocations: 174.5 kB / 0.8935 GB, free: 11.96 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.549e-05/0.1961, allocations: 82.11 kB / 0.8935 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.1962, allocations: 382.6 kB / 0.8939 GB, free: 11.49 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.66e-05/0.1962, allocations: 47.8 kB / 0.8939 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.1964, allocations: 166 kB / 0.8941 GB, free: 11.25 MB / 0.8698 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volSim.dynBal.medium.p = volSim.dynBal.p_start (bou.p = volSim.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volExa.dynBal.medium.p = volExa.dynBal.p_start (bou.p = volExa.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0004669/0.1968, allocations: 409.5 kB / 0.8945 GB, free: 10.84 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1968, allocations: 0 / 0.8945 GB, free: 10.84 MB / 0.8698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.000243/0.1971, allocations: 238.4 kB / 0.8947 GB, free: 10.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.1971, allocations: 4 kB / 0.8947 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.1971, allocations: 4.156 kB / 0.8947 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.1971, allocations: 8 kB / 0.8947 GB, free: 10.58 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002619/0.1974, allocations: 103.9 kB / 0.8948 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.1974, allocations: 4 kB / 0.8948 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000206/0.1976, allocations: 19.98 kB / 0.8949 GB, free: 10.46 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.227e-05/0.1976, allocations: 8 kB / 0.8949 GB, free: 10.45 MB / 0.8698 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: volSim.dynBal.medium.p = volSim.dynBal.p_start volExa.dynBal.medium.p = volExa.dynBal.p_start. 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 (54): * Single equations (assignments): 54 * 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.0001303/0.1977, allocations: 148.5 kB / 0.895 GB, free: 10.29 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.999e-05/0.1978, allocations: 51.95 kB / 0.8951 GB, free: 10.24 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.831e-05/0.1979, allocations: 77.5 kB / 0.8951 GB, free: 10.16 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.1979, allocations: 4 kB / 0.8951 GB, free: 10.16 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.1979, allocations: 0 / 0.8951 GB, free: 10.16 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001856/0.1981, allocations: 248.2 kB / 0.8954 GB, free: 9.887 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009748/0.199, allocations: 1.041 MB / 0.8964 GB, free: 8.742 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.199, allocations: 4 kB / 0.8964 GB, free: 8.738 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003389/0.1994, allocations: 147.3 kB / 0.8965 GB, free: 8.594 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/0.1995, allocations: 91.58 kB / 0.8966 GB, free: 8.504 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-06/0.1995, allocations: 4 kB / 0.8966 GB, free: 8.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/0.1995, allocations: 12 kB / 0.8966 GB, free: 8.488 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.713e-06/0.1995, allocations: 11.94 kB / 0.8966 GB, free: 8.477 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/0.1995, allocations: 11.98 kB / 0.8967 GB, free: 8.465 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004349/0.2, allocations: 0.5812 MB / 0.8972 GB, free: 7.793 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.579e-05/0.2, allocations: 19.92 kB / 0.8972 GB, free: 7.773 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002124/0.2002, allocations: 22.44 kB / 0.8973 GB, free: 7.754 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.934e-05/0.2003, allocations: 43.81 kB / 0.8973 GB, free: 7.711 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.351e-05/0.2003, allocations: 19.98 kB / 0.8973 GB, free: 7.691 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001264/0.2004, allocations: 188.4 kB / 0.8975 GB, free: 7.508 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.2004, allocations: 0 / 0.8975 GB, free: 7.508 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003574/0.2008, allocations: 195.9 kB / 0.8977 GB, free: 7.316 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (volSim.dynBal.medium.Xi[1],volSim.dynBal.U,volExa.dynBal.medium.Xi[1],volExa.dynBal.U) * 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 (47): * Single equations (assignments): 47 * 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.0001914/0.201, allocations: 132.2 kB / 0.8978 GB, free: 7.18 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002514/0.2012, allocations: 212 kB / 0.898 GB, free: 6.969 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.43e-05/0.2013, allocations: 12 kB / 0.898 GB, free: 6.957 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.2014, allocations: 127 kB / 0.8981 GB, free: 6.832 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/0.2025, allocations: 0.5085 MB / 0.8986 GB, free: 6.324 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005018/0.2075, allocations: 1.351 MB / 0.9 GB, free: 4.879 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001786/0.2077, allocations: 194.8 kB / 0.9002 GB, free: 4.668 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0004287/0.2081, allocations: 105.2 kB / 0.9003 GB, free: 4.566 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000725/0.2088, allocations: 305.1 kB / 0.9005 GB, free: 4.266 MB / 0.8698 GB Notification: Performance of SimCode: time 6.11e-07/0.2088, allocations: 0 / 0.9005 GB, free: 4.266 MB / 0.8698 GB Notification: Performance of Templates: time 0.0216/0.2304, allocations: 16.37 MB / 0.9165 GB, free: 4.273 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.42797723505646]