Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.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.001436/0.001436, allocations: 81.97 kB / 21.47 MB, free: 3.035 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.001125/0.001125, allocations: 163.8 kB / 24.86 MB, free: 9.293 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.942/0.942, allocations: 177.2 MB / 205.3 MB, free: 5.5 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.841/1.841, allocations: 359 MB / 0.6063 GB, free: 10.89 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.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|gain.y|volDyn.Xi.[0-9,]+.|volSte.Xi.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|gain.y|volDyn.Xi.[0-9,]+.|volSte.Xi.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.855e-05/3.003e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.1533/0.1534, allocations: 152.5 MB / 0.9373 GB, free: 3.199 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.006538/0.1599, allocations: 3.834 MB / 0.941 GB, free: 15.36 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001239/0.1611, allocations: 59.5 kB / 0.9411 GB, free: 15.3 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.000871/0.162, allocations: 297.8 kB / 0.9414 GB, free: 15 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.002526/0.1645, allocations: 1.185 MB / 0.9425 GB, free: 13.81 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.001904/0.1664, allocations: 0.9081 MB / 0.9434 GB, free: 12.9 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.003943/0.1704, allocations: 2.996 MB / 0.9463 GB, free: 9.898 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001258/0.1716, allocations: 0.7895 MB / 0.9471 GB, free: 9.086 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003236/0.1749, allocations: 1.649 MB / 0.9487 GB, free: 7.504 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001286/0.1762, allocations: 0.8685 MB / 0.9495 GB, free: 6.633 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0001802/0.1763, allocations: 108 kB / 0.9497 GB, free: 6.527 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008767/0.1772, allocations: 403.1 kB / 0.95 GB, free: 6.133 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0004078/0.1776, allocations: 0.4947 MB / 0.9505 GB, free: 5.637 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0005733/0.1782, allocations: 471 kB / 0.951 GB, free: 5.176 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.001756/0.18, allocations: 1.203 MB / 0.9521 GB, free: 3.969 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.18, allocations: 0 / 0.9521 GB, free: 3.969 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.623e-06/0.18, allocations: 0 / 0.9521 GB, free: 3.969 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 2.253e-05/0.18, allocations: 4 kB / 0.9521 GB, free: 3.965 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.001759/0.1817, allocations: 1.48 MB / 0.9536 GB, free: 2.445 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.1818, allocations: 8.031 kB / 0.9536 GB, free: 2.438 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001141/0.1829, allocations: 395.5 kB / 0.954 GB, free: 2.051 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009738/0.1839, allocations: 0.7695 MB / 0.9547 GB, free: 1.25 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.431e-05/0.1839, allocations: 66.12 kB / 0.9548 GB, free: 1.188 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.736e-05/0.184, allocations: 92 kB / 0.9549 GB, free: 1.098 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008709/0.1849, allocations: 0.9361 MB / 0.9558 GB, free: 40 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.298e-05/0.1849, allocations: 0 / 0.9558 GB, free: 40 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.837e-05/0.185, allocations: 36 kB / 0.9558 GB, free: 4 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-05/0.185, allocations: 37.98 kB / 0.9559 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003819/0.1854, allocations: 285.7 kB / 0.9561 GB, free: 15.69 MB / 0.9167 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.003047/0.1885, allocations: 2.19 MB / 0.9583 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003291/0.1888, allocations: 246.2 kB / 0.9585 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/0.1889, allocations: 110.6 kB / 0.9586 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 9.982e-05/0.189, allocations: 24.36 kB / 0.9586 GB, free: 13.06 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.189, allocations: 45.77 kB / 0.9587 GB, free: 13.01 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=45): time 2.515e-06/0.1891, allocations: 0 / 0.9587 GB, free: 13.01 MB / 0.9167 GB Notification: Performance of matching and sorting (n=47): time 0.001503/0.1906, allocations: 0.8383 MB / 0.9595 GB, free: 12.13 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.687e-05/0.1906, allocations: 55.91 kB / 0.9596 GB, free: 12.06 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006376/0.1912, allocations: 0.62 MB / 0.9602 GB, free: 11.43 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 4.152e-05/0.1913, allocations: 41.7 kB / 0.9602 GB, free: 11.38 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000261/0.1915, allocations: 0.5455 MB / 0.9607 GB, free: 10.83 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.1916, allocations: 182.5 kB / 0.9609 GB, free: 10.65 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/0.1917, allocations: 119.9 kB / 0.961 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.1919, allocations: 0.5624 MB / 0.9616 GB, free: 9.949 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.537e-05/0.192, allocations: 61.27 kB / 0.9616 GB, free: 9.891 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001972/0.1922, allocations: 285.9 kB / 0.9619 GB, free: 9.539 MB / 0.9167 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0005593/0.1928, allocations: 0.5011 MB / 0.9624 GB, free: 8.984 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1928, allocations: 3.938 kB / 0.9624 GB, free: 8.98 MB / 0.9167 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0004892/0.1933, allocations: 440.2 kB / 0.9628 GB, free: 8.531 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.1933, allocations: 8 kB / 0.9628 GB, free: 8.523 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.1933, allocations: 7.984 kB / 0.9628 GB, free: 8.516 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.617e-05/0.1934, allocations: 39.36 kB / 0.9629 GB, free: 8.469 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003405/0.1937, allocations: 135.8 kB / 0.963 GB, free: 8.336 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00161/0.1953, allocations: 3.469 MB / 0.9664 GB, free: 4.641 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000378/0.1957, allocations: 23.98 kB / 0.9664 GB, free: 4.617 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.148e-05/0.1957, allocations: 16 kB / 0.9664 GB, free: 4.602 MB / 0.9167 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (69): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002375/0.196, allocations: 208.5 kB / 0.9666 GB, free: 4.387 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.1961, allocations: 91.53 kB / 0.9667 GB, free: 4.297 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.005e-05/0.1962, allocations: 87.34 kB / 0.9668 GB, free: 4.207 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.1962, allocations: 8.078 kB / 0.9668 GB, free: 4.199 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1962, allocations: 0 / 0.9668 GB, free: 4.199 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005545/0.1967, allocations: 0.5502 MB / 0.9673 GB, free: 3.559 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001309/0.198, allocations: 1.111 MB / 0.9684 GB, free: 2.352 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.198, allocations: 0 / 0.9684 GB, free: 2.352 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002933/0.1983, allocations: 123.8 kB / 0.9685 GB, free: 2.23 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.295e-05/0.1984, allocations: 24.08 kB / 0.9686 GB, free: 2.203 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.714e-05/0.1984, allocations: 20 kB / 0.9686 GB, free: 2.184 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007495/0.1992, allocations: 1.752 MB / 0.9703 GB, free: 324 kB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.1992, allocations: 4 kB / 0.9703 GB, free: 320 kB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006274/0.1998, allocations: 0.6525 MB / 0.9709 GB, free: 15.58 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001987/0.2, allocations: 131.5 kB / 0.9711 GB, free: 15.45 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.064e-05/0.2001, allocations: 23.98 kB / 0.9711 GB, free: 15.43 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003198/0.2004, allocations: 23.98 kB / 0.9711 GB, free: 15.41 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.66e-05/0.2005, allocations: 43.81 kB / 0.9711 GB, free: 15.36 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.222e-05/0.2005, allocations: 28.12 kB / 0.9712 GB, free: 15.34 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0002403/0.2008, allocations: 374.9 kB / 0.9715 GB, free: 14.97 MB / 0.9323 GB Notification: Performance of sort global known variables: time 6e-08/0.2008, allocations: 0 / 0.9715 GB, free: 14.97 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.000636/0.2014, allocations: 268 kB / 0.9718 GB, free: 14.71 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.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 (45): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002505/0.2016, allocations: 170.9 kB / 0.972 GB, free: 14.54 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0005904/0.2022, allocations: 0.6003 MB / 0.9725 GB, free: 13.89 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.2022, allocations: 0.8125 kB / 0.9725 GB, free: 13.89 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0002217/0.2025, allocations: 318.4 kB / 0.9728 GB, free: 13.56 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001216/0.2037, allocations: 0.4919 MB / 0.9733 GB, free: 13.09 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002162/0.2058, allocations: 1.615 MB / 0.9749 GB, free: 11.38 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001617/0.206, allocations: 232.1 kB / 0.9751 GB, free: 11.13 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0004537/0.2064, allocations: 134.4 kB / 0.9752 GB, free: 10.99 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007364/0.2072, allocations: 457.8 kB / 0.9757 GB, free: 10.54 MB / 0.9323 GB Notification: Performance of SimCode: time 1.012e-06/0.2072, allocations: 0 / 0.9757 GB, free: 10.54 MB / 0.9323 GB Notification: Performance of Templates: time 0.02322/0.2304, allocations: 19.32 MB / 0.9946 GB, free: 7.699 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.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.9127350971102715]