Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001019/0.001019, allocations: 82.64 kB / 20.68 MB, free: 3.824 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.0009888/0.0009888, allocations: 181 kB / 24.09 MB, free: 424 kB / 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.9178/0.9178, allocations: 177.1 MB / 204.5 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.839/1.839, allocations: 377.9 MB / 0.624 GB, free: 8.43 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.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_12_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_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 0.812 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.514e-05/1.653e-05, allocations: 3.297 kB / 0.812 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.1435/0.1435, allocations: 152.6 MB / 0.9611 GB, free: 8.305 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.004503/0.148, allocations: 3.842 MB / 0.9648 GB, free: 4.453 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004536/0.1485, allocations: 55.5 kB / 0.9649 GB, free: 4.398 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0006341/0.1491, allocations: 305.8 kB / 0.9652 GB, free: 4.098 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001489/0.1506, allocations: 1.185 MB / 0.9663 GB, free: 2.902 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001327/0.1519, allocations: 0.9081 MB / 0.9672 GB, free: 1.992 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001991/0.1539, allocations: 2.991 MB / 0.9701 GB, free: 15 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007305/0.1546, allocations: 0.805 MB / 0.9709 GB, free: 14.17 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002055/0.1567, allocations: 1.667 MB / 0.9726 GB, free: 12.58 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007833/0.1575, allocations: 0.8569 MB / 0.9734 GB, free: 11.72 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0001183/0.1576, allocations: 108 kB / 0.9735 GB, free: 11.61 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005569/0.1581, allocations: 403.1 kB / 0.9739 GB, free: 11.22 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.000399/0.1585, allocations: 0.4947 MB / 0.9744 GB, free: 10.72 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0003372/0.1589, allocations: 475 kB / 0.9748 GB, free: 10.26 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.001062/0.1599, allocations: 1.199 MB / 0.976 GB, free: 9.055 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1599, allocations: 4 kB / 0.976 GB, free: 9.051 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1599, allocations: 0 / 0.976 GB, free: 9.051 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 9.848e-06/0.16, allocations: 0 / 0.976 GB, free: 9.051 MB / 0.9323 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.001344/0.1613, allocations: 1.484 MB / 0.9774 GB, free: 7.527 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.1613, allocations: 12.03 kB / 0.9774 GB, free: 7.516 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/0.1623, allocations: 407.4 kB / 0.9778 GB, free: 7.117 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007539/0.1631, allocations: 0.754 MB / 0.9786 GB, free: 6.336 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.104e-05/0.1631, allocations: 70.12 kB / 0.9786 GB, free: 6.27 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.158e-05/0.1632, allocations: 92 kB / 0.9787 GB, free: 6.18 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006752/0.1639, allocations: 0.9322 MB / 0.9796 GB, free: 5.125 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.1639, allocations: 3.938 kB / 0.9796 GB, free: 5.121 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.987e-05/0.164, allocations: 36 kB / 0.9797 GB, free: 5.086 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.884e-05/0.164, allocations: 30 kB / 0.9797 GB, free: 5.055 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003379/0.1643, allocations: 285.7 kB / 0.98 GB, free: 4.777 MB / 0.9323 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.002534/0.1669, allocations: 2.19 MB / 0.9821 GB, free: 2.531 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002798/0.1672, allocations: 244.5 kB / 0.9823 GB, free: 2.281 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.1673, allocations: 116.3 kB / 0.9825 GB, free: 2.164 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 8.623e-05/0.1674, allocations: 27.36 kB / 0.9825 GB, free: 2.141 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.877e-05/0.1675, allocations: 45.77 kB / 0.9825 GB, free: 2.086 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=45): time 1.593e-06/0.1675, allocations: 0 / 0.9825 GB, free: 2.086 MB / 0.9323 GB Notification: Performance of matching and sorting (n=47): time 0.001223/0.1687, allocations: 0.838 MB / 0.9833 GB, free: 1.207 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.302e-05/0.1687, allocations: 55.91 kB / 0.9834 GB, free: 1.141 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003925/0.1691, allocations: 0.6201 MB / 0.984 GB, free: 0.5078 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.1691, allocations: 37.7 kB / 0.984 GB, free: 476 kB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003811/0.1695, allocations: 0.5534 MB / 0.9846 GB, free: 15.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.356e-05/0.1696, allocations: 178.5 kB / 0.9848 GB, free: 15.72 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/0.1697, allocations: 119.9 kB / 0.9849 GB, free: 15.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.1699, allocations: 0.5585 MB / 0.9854 GB, free: 15.03 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.176e-05/0.17, allocations: 69.25 kB / 0.9855 GB, free: 14.96 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001768/0.1701, allocations: 285.9 kB / 0.9858 GB, free: 14.61 MB / 0.948 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.0005032/0.1706, allocations: 0.4976 MB / 0.9862 GB, free: 14.05 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.1706, allocations: 4 kB / 0.9862 GB, free: 14.05 MB / 0.948 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0004402/0.1711, allocations: 436.6 kB / 0.9867 GB, free: 13.61 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.1711, allocations: 14.69 kB / 0.9867 GB, free: 13.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.1711, allocations: 4 kB / 0.9867 GB, free: 13.59 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.739e-05/0.1712, allocations: 47.28 kB / 0.9867 GB, free: 13.54 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002966/0.1715, allocations: 127.9 kB / 0.9868 GB, free: 13.41 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001571/0.173, allocations: 3.485 MB / 0.9902 GB, free: 9.703 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002779/0.1733, allocations: 19.98 kB / 0.9903 GB, free: 9.684 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.974e-05/0.1734, allocations: 23.94 kB / 0.9903 GB, free: 9.66 MB / 0.948 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.0001692/0.1735, allocations: 192.4 kB / 0.9905 GB, free: 9.461 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.185e-05/0.1736, allocations: 91.66 kB / 0.9906 GB, free: 9.371 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.252e-05/0.1737, allocations: 91.34 kB / 0.9906 GB, free: 9.277 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1737, allocations: 4 kB / 0.9906 GB, free: 9.273 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.1737, allocations: 0 / 0.9906 GB, free: 9.273 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000338/0.174, allocations: 0.5463 MB / 0.9912 GB, free: 8.637 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.1751, allocations: 1.107 MB / 0.9923 GB, free: 7.438 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.1751, allocations: 7.938 kB / 0.9923 GB, free: 7.43 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002644/0.1754, allocations: 119.8 kB / 0.9924 GB, free: 7.312 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.583e-05/0.1754, allocations: 23.67 kB / 0.9924 GB, free: 7.285 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/0.1755, allocations: 16.05 kB / 0.9924 GB, free: 7.27 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006561/0.1761, allocations: 1.757 MB / 0.9941 GB, free: 5.398 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1761, allocations: 4 kB / 0.9941 GB, free: 5.395 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007016/0.1768, allocations: 0.6646 MB / 0.9948 GB, free: 4.648 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001678/0.177, allocations: 127.5 kB / 0.9949 GB, free: 4.523 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.651e-05/0.177, allocations: 15.98 kB / 0.9949 GB, free: 4.508 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002724/0.1773, allocations: 29.55 kB / 0.995 GB, free: 4.48 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.185e-05/0.1774, allocations: 47.94 kB / 0.995 GB, free: 4.434 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.475e-05/0.1774, allocations: 23.98 kB / 0.995 GB, free: 4.41 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002147/0.1776, allocations: 382.8 kB / 0.9954 GB, free: 4.039 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.1776, allocations: 0 / 0.9954 GB, free: 4.039 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0004856/0.1781, allocations: 268 kB / 0.9956 GB, free: 3.777 MB / 0.948 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.0002009/0.1783, allocations: 155 kB / 0.9958 GB, free: 3.617 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0004778/0.1788, allocations: 0.6008 MB / 0.9964 GB, free: 2.98 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.1788, allocations: 4 kB / 0.9964 GB, free: 2.977 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001926/0.179, allocations: 316 kB / 0.9967 GB, free: 2.648 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.1801, allocations: 0.513 MB / 0.9972 GB, free: 2.152 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001724/0.1818, allocations: 1.595 MB / 0.9987 GB, free: 468 kB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001509/0.182, allocations: 236 kB / 0.999 GB, free: 212 kB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003292/0.1823, allocations: 134.4 kB / 0.9991 GB, free: 72 kB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007111/0.183, allocations: 465.8 kB / 0.9995 GB, free: 15.61 MB / 0.9636 GB Notification: Performance of SimCode: time 8.22e-07/0.183, allocations: 0 / 0.9995 GB, free: 15.61 MB / 0.9636 GB Notification: Performance of Templates: time 0.02075/0.2037, allocations: 19.06 MB / 1.018 GB, free: 13.03 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.5202511991374195]