Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001784/0.001784, allocations: 198.6 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.575/2.575, allocations: 437 MB / 0.7103 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 71.88 kB / 0.8692 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7295/0.7309, allocations: 151.6 MB / 1.017 GB, free: 2.504 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1832/0.9141, allocations: 171 MB / 1.184 GB, free: 6.852 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.006781/0.9209, allocations: 4.289 MB / 1.188 GB, free: 2.551 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008548/0.9218, allocations: 23.88 kB / 1.188 GB, free: 2.527 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001154/0.923, allocations: 350 kB / 1.189 GB, free: 2.184 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002561/0.9256, allocations: 0.9992 MB / 1.19 GB, free: 1.18 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002206/0.9278, allocations: 0.8004 MB / 1.191 GB, free: 392 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001739/0.9296, allocations: 1.294 MB / 1.192 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007564/0.9304, allocations: 487.2 kB / 1.192 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001428/0.9318, allocations: 0.6654 MB / 1.193 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001144/0.933, allocations: 457.6 kB / 1.193 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001628/0.9331, allocations: 52 kB / 1.193 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001739/0.9349, allocations: 0.9082 MB / 1.194 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002905/0.9352, allocations: 215.3 kB / 1.195 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0005507/0.9357, allocations: 334.6 kB / 1.195 GB, free: 12 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001784/0.9375, allocations: 1.122 MB / 1.196 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.9376, allocations: 0 / 1.196 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.515e-06/0.9376, allocations: 0 / 1.196 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.641e-05/0.9376, allocations: 3.938 kB / 1.196 GB, free: 10.87 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001897/0.9395, allocations: 0.9427 MB / 1.197 GB, free: 9.871 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.9396, allocations: 8.031 kB / 1.197 GB, free: 9.863 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001763/0.9413, allocations: 267 kB / 1.197 GB, free: 9.602 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008946/0.9422, allocations: 489.3 kB / 1.198 GB, free: 9.082 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003567/0.9426, allocations: 92.92 kB / 1.198 GB, free: 8.992 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.157e-05/0.9427, allocations: 40 kB / 1.198 GB, free: 8.953 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001344/0.944, allocations: 0.6224 MB / 1.198 GB, free: 8.309 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.9441, allocations: 3.984 kB / 1.198 GB, free: 8.305 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.412e-05/0.9441, allocations: 20 kB / 1.198 GB, free: 8.285 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.474e-05/0.9442, allocations: 21 kB / 1.198 GB, free: 8.266 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001531/0.9457, allocations: 0.5581 MB / 1.199 GB, free: 7.707 MB / 0.9512 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.004152/0.9499, allocations: 2.284 MB / 1.201 GB, free: 5.289 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/0.9509, allocations: 286.3 kB / 1.201 GB, free: 5 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006047/0.9516, allocations: 176.9 kB / 1.202 GB, free: 4.824 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.749e-05/0.9516, allocations: 11.88 kB / 1.202 GB, free: 4.812 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.9516, allocations: 34.56 kB / 1.202 GB, free: 4.77 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=11): time 1.634e-06/0.9516, allocations: 0 / 1.202 GB, free: 4.77 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11): time 0.005503/0.9571, allocations: 1.103 MB / 1.203 GB, free: 3.637 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.657e-05/0.9572, allocations: 81.11 kB / 1.203 GB, free: 3.539 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006401/0.9579, allocations: 0.5534 MB / 1.203 GB, free: 2.973 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.728e-05/0.9579, allocations: 33.7 kB / 1.203 GB, free: 2.934 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000207/0.9581, allocations: 303.4 kB / 1.204 GB, free: 2.633 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.619e-05/0.9582, allocations: 39.45 kB / 1.204 GB, free: 2.594 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.9583, allocations: 57.61 kB / 1.204 GB, free: 2.531 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001756/0.9585, allocations: 362.7 kB / 1.204 GB, free: 2.168 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006521/0.9591, allocations: 195.8 kB / 1.204 GB, free: 1.977 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006955/0.9599, allocations: 277.7 kB / 1.205 GB, free: 1.672 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00136/0.9612, allocations: 424.5 kB / 1.205 GB, free: 1.23 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.9612, allocations: 0 / 1.205 GB, free: 1.23 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002888/0.9641, allocations: 0.7394 MB / 1.206 GB, free: 492 kB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.9642, allocations: 8.094 kB / 1.206 GB, free: 484 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.9642, allocations: 4 kB / 1.206 GB, free: 480 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006677/0.9649, allocations: 176.7 kB / 1.206 GB, free: 300 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000398/0.9653, allocations: 79.88 kB / 1.206 GB, free: 220 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004247/0.9695, allocations: 2.23 MB / 1.208 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006726/0.9702, allocations: 79.66 kB / 1.208 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.089e-05/0.9703, allocations: 16 kB / 1.208 GB, free: 13.75 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (26): * Single equations (assignments): 25 * 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 prepare postOptimizeDAE: time 0.0002699/0.9705, allocations: 186.4 kB / 1.208 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/0.9707, allocations: 55.42 kB / 1.208 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001118/0.9708, allocations: 51.97 kB / 1.208 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.9708, allocations: 4 kB / 1.208 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.574e-06/0.9708, allocations: 4 kB / 1.208 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.9708, allocations: 0 / 1.208 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003358/0.9742, allocations: 1.144 MB / 1.21 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.9742, allocations: 0 / 1.21 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002632/0.9745, allocations: 44.02 kB / 1.21 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005467/0.975, allocations: 180.7 kB / 1.21 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.143e-05/0.9751, allocations: 4 kB / 1.21 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003819/0.9789, allocations: 2.191 MB / 1.212 GB, free: 9.68 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.9789, allocations: 0 / 1.212 GB, free: 9.68 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002689/0.9816, allocations: 0.7195 MB / 1.213 GB, free: 8.934 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002612/0.9819, allocations: 164.5 kB / 1.213 GB, free: 8.754 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.26e-05/0.982, allocations: 4.094 kB / 1.213 GB, free: 8.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006324/0.9826, allocations: 59.81 kB / 1.213 GB, free: 8.691 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.398e-05/0.9827, allocations: 7.984 kB / 1.213 GB, free: 8.684 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.137e-05/0.9827, allocations: 15.98 kB / 1.213 GB, free: 8.668 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0005563/0.9833, allocations: 398.8 kB / 1.213 GB, free: 8.281 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9833, allocations: 0 / 1.213 GB, free: 8.281 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0006803/0.984, allocations: 183.8 kB / 1.213 GB, free: 8.102 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (7): * Single equations (assignments): 6 * 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.0004153/0.9844, allocations: 160.7 kB / 1.214 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001742/0.9862, allocations: 0.5375 MB / 1.214 GB, free: 7.391 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.9862, allocations: 8.125 kB / 1.214 GB, free: 7.383 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0008319/0.987, allocations: 306.6 kB / 1.214 GB, free: 7.07 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001503/0.9885, allocations: 309.1 kB / 1.215 GB, free: 6.777 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003237/0.9918, allocations: 1.078 MB / 1.216 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004963/0.9923, allocations: 0.8621 MB / 1.217 GB, free: 4.773 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0004665/0.9928, allocations: 100.5 kB / 1.217 GB, free: 4.672 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.9929, allocations: 39.42 kB / 1.217 GB, free: 4.633 MB / 0.9669 GB Notification: Performance of SimCode: time 4.11e-07/0.9929, allocations: 0 / 1.217 GB, free: 4.633 MB / 0.9669 GB Notification: Performance of Templates: time 0.02164/1.015, allocations: 12.41 MB / 1.229 GB, free: 8.406 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches