Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.0009706/0.0009706, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.001138/0.001138, allocations: 170 kB / 24.87 MB, free: 9.281 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.9779/0.9779, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.945/1.945, allocations: 377.9 MB / 0.6247 GB, free: 8.395 MB / 0.5886 GB " [Timeout remaining time 177] 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.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.408e-06/4.408e-06, allocations: 0 / 0.8128 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.538e-05/2.979e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.1259/0.1259, allocations: 148.3 MB / 0.9576 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.005679/0.1316, allocations: 3.86 MB / 0.9614 GB, free: 8.793 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001048/0.1326, allocations: 55.5 kB / 0.9614 GB, free: 8.738 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0007226/0.1334, allocations: 309.8 kB / 0.9617 GB, free: 8.434 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.002188/0.1356, allocations: 1.173 MB / 0.9629 GB, free: 7.254 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001595/0.1372, allocations: 0.9158 MB / 0.9638 GB, free: 6.336 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.002937/0.1401, allocations: 2.987 MB / 0.9667 GB, free: 3.34 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001041/0.1411, allocations: 0.7669 MB / 0.9674 GB, free: 2.555 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002287/0.1434, allocations: 1.552 MB / 0.969 GB, free: 1.031 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00102/0.1444, allocations: 0.853 MB / 0.9698 GB, free: 180 kB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001573/0.1446, allocations: 108 kB / 0.9699 GB, free: 72 kB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007006/0.1453, allocations: 403.1 kB / 0.9703 GB, free: 15.68 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0003341/0.1456, allocations: 0.4947 MB / 0.9708 GB, free: 15.18 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.000407/0.146, allocations: 487 kB / 0.9712 GB, free: 14.7 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.001179/0.1472, allocations: 1.203 MB / 0.9724 GB, free: 13.5 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1472, allocations: 4 kB / 0.9724 GB, free: 13.49 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.022e-06/0.1472, allocations: 0 / 0.9724 GB, free: 13.49 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.351e-05/0.1472, allocations: 0 / 0.9724 GB, free: 13.49 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.001456/0.1487, allocations: 1.492 MB / 0.9739 GB, free: 11.96 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.1487, allocations: 8.031 kB / 0.9739 GB, free: 11.95 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/0.1498, allocations: 407.3 kB / 0.9743 GB, free: 11.55 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008034/0.1506, allocations: 0.7618 MB / 0.975 GB, free: 10.77 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.184e-05/0.1506, allocations: 66.12 kB / 0.9751 GB, free: 10.7 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-05/0.1507, allocations: 92 kB / 0.9752 GB, free: 10.61 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007061/0.1514, allocations: 0.9283 MB / 0.9761 GB, free: 9.562 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/0.1514, allocations: 15.92 kB / 0.9761 GB, free: 9.547 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.384e-05/0.1515, allocations: 36 kB / 0.9761 GB, free: 9.512 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.344e-05/0.1515, allocations: 30 kB / 0.9761 GB, free: 9.48 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003734/0.1519, allocations: 281.7 kB / 0.9764 GB, free: 9.207 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.002633/0.1545, allocations: 2.186 MB / 0.9785 GB, free: 6.969 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003094/0.1548, allocations: 278.8 kB / 0.9788 GB, free: 6.691 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/0.155, allocations: 109.1 kB / 0.9789 GB, free: 6.582 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 9.302e-05/0.155, allocations: 28.48 kB / 0.9789 GB, free: 6.551 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.1551, allocations: 45.89 kB / 0.979 GB, free: 6.496 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=47): time 1.913e-06/0.1551, allocations: 0 / 0.979 GB, free: 6.496 MB / 0.9323 GB Notification: Performance of matching and sorting (n=49): time 0.001551/0.1566, allocations: 0.9091 MB / 0.9799 GB, free: 5.547 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.515e-05/0.1567, allocations: 59.89 kB / 0.9799 GB, free: 5.477 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004166/0.1571, allocations: 0.6123 MB / 0.9805 GB, free: 4.852 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.795e-05/0.1571, allocations: 37.7 kB / 0.9806 GB, free: 4.809 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002565/0.1574, allocations: 0.5377 MB / 0.9811 GB, free: 4.262 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.1575, allocations: 186.4 kB / 0.9813 GB, free: 4.078 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/0.1576, allocations: 119.9 kB / 0.9814 GB, free: 3.953 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.1578, allocations: 0.5702 MB / 0.9819 GB, free: 3.371 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.1579, allocations: 69.19 kB / 0.982 GB, free: 3.305 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001887/0.1581, allocations: 262.6 kB / 0.9823 GB, free: 2.984 MB / 0.9323 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.0005499/0.1586, allocations: 496.5 kB / 0.9827 GB, free: 2.449 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1586, allocations: 0 / 0.9827 GB, free: 2.449 MB / 0.9323 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0004923/0.1591, allocations: 448.2 kB / 0.9832 GB, free: 2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.1591, allocations: 8.344 kB / 0.9832 GB, free: 1.992 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.1591, allocations: 8 kB / 0.9832 GB, free: 1.984 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001528/0.1593, allocations: 59.33 kB / 0.9832 GB, free: 1.918 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003168/0.1596, allocations: 131.8 kB / 0.9834 GB, free: 1.789 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001754/0.1614, allocations: 3.563 MB / 0.9868 GB, free: 13.99 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003358/0.1617, allocations: 12 kB / 0.9868 GB, free: 13.98 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.324e-05/0.1617, allocations: 20.09 kB / 0.9869 GB, free: 13.96 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: 12 * 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 (67): * Single equations (assignments): 65 * 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,4), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001928/0.1619, allocations: 204.3 kB / 0.9871 GB, free: 13.75 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.162, allocations: 95.53 kB / 0.9872 GB, free: 13.66 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.196e-05/0.1621, allocations: 83.36 kB / 0.9872 GB, free: 13.57 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-06/0.1621, allocations: 4 kB / 0.9872 GB, free: 13.57 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.1621, allocations: 0 / 0.9872 GB, free: 13.57 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003676/0.1625, allocations: 0.5658 MB / 0.9878 GB, free: 12.91 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001196/0.1637, allocations: 1.117 MB / 0.9889 GB, free: 11.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.1637, allocations: 8 kB / 0.9889 GB, free: 11.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002904/0.164, allocations: 120.2 kB / 0.989 GB, free: 11.58 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001118/0.1641, allocations: 51.58 kB / 0.989 GB, free: 11.52 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.348e-05/0.1641, allocations: 12 kB / 0.9891 GB, free: 11.51 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008962/0.165, allocations: 1.839 MB / 0.9909 GB, free: 9.559 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/0.165, allocations: 15.95 kB / 0.9909 GB, free: 9.543 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008054/0.1658, allocations: 0.6664 MB / 0.9915 GB, free: 8.797 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002956/0.1661, allocations: 135.4 kB / 0.9917 GB, free: 8.664 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.353e-05/0.1662, allocations: 12.19 kB / 0.9917 GB, free: 8.652 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004094/0.1666, allocations: 37.75 kB / 0.9917 GB, free: 8.617 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.316e-05/0.1667, allocations: 51.8 kB / 0.9917 GB, free: 8.566 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.343e-05/0.1667, allocations: 23.98 kB / 0.9918 GB, free: 8.543 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003039/0.167, allocations: 378.9 kB / 0.9921 GB, free: 8.176 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.1e-07/0.167, allocations: 0 / 0.9921 GB, free: 8.176 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0009472/0.168, allocations: 283.9 kB / 0.9924 GB, free: 7.898 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002779/0.1683, allocations: 145.7 kB / 0.9925 GB, free: 7.746 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008458/0.1691, allocations: 0.6238 MB / 0.9932 GB, free: 7.086 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.758e-06/0.1691, allocations: 0 / 0.9932 GB, free: 7.086 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003505/0.1695, allocations: 323.6 kB / 0.9935 GB, free: 6.75 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001845/0.1713, allocations: 0.4967 MB / 0.9939 GB, free: 6.266 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002817/0.1741, allocations: 1.618 MB / 0.9955 GB, free: 4.551 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002324/0.1744, allocations: 235.8 kB / 0.9958 GB, free: 4.301 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0005905/0.175, allocations: 130.4 kB / 0.9959 GB, free: 4.168 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001095/0.176, allocations: 465.8 kB / 0.9963 GB, free: 3.711 MB / 0.948 GB Notification: Performance of SimCode: time 1.102e-06/0.176, allocations: 0 / 0.9963 GB, free: 3.711 MB / 0.948 GB Notification: Performance of Templates: time 0.0252/0.2013, allocations: 19.97 MB / 1.016 GB, free: 240 kB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.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.819887109100819]