Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001733/0.001733, allocations: 193.2 kB / 16.14 MB, free: 6.652 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.357/1.357, allocations: 222.9 MB / 239.8 MB, free: 4.598 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.583/2.583, allocations: 437 MB / 0.7099 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001212, allocations: 59.91 kB / 0.8685 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6694/0.6706, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2087/0.8794, allocations: 188.4 MB / 1.201 GB, free: 5.734 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01239/0.8918, allocations: 5.798 MB / 1.206 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002265/0.8941, allocations: 39.75 kB / 1.206 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002148/0.8964, allocations: 0.4935 MB / 1.207 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00558/0.902, allocations: 1.743 MB / 1.208 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003539/0.9055, allocations: 1.077 MB / 1.209 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.005533/0.9111, allocations: 4.095 MB / 1.213 GB, free: 8.469 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001785/0.9129, allocations: 0.8003 MB / 1.214 GB, free: 7.656 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002439/0.9153, allocations: 0.9062 MB / 1.215 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002593/0.918, allocations: 0.9399 MB / 1.216 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0003587/0.9183, allocations: 56 kB / 1.216 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003773/0.9221, allocations: 1.629 MB / 1.218 GB, free: 4.117 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0007592/0.9229, allocations: 410.8 kB / 1.218 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0015/0.9244, allocations: 0.591 MB / 1.219 GB, free: 3.121 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.004321/0.9287, allocations: 2.166 MB / 1.221 GB, free: 0.9492 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.9288, allocations: 4 kB / 1.221 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.487e-06/0.9288, allocations: 0 / 1.221 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.073e-05/0.9288, allocations: 3.938 kB / 1.221 GB, free: 0.9414 MB / 0.9669 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.003748/0.9326, allocations: 1.511 MB / 1.222 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001764/0.9328, allocations: 12.03 kB / 1.222 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002558/0.9354, allocations: 314.2 kB / 1.223 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001802/0.9372, allocations: 0.8162 MB / 1.223 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-05/0.9373, allocations: 70 kB / 1.223 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001954/0.9375, allocations: 80 kB / 1.224 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002143/0.9396, allocations: 0.917 MB / 1.224 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.395e-05/0.9397, allocations: 0 / 1.224 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001152/0.9398, allocations: 43.98 kB / 1.224 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.202e-05/0.9398, allocations: 33.94 kB / 1.224 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001606/0.9415, allocations: 0.8276 MB / 1.225 GB, free: 12.22 MB / 0.9825 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.006632/0.9481, allocations: 3.516 MB / 1.229 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009261/0.949, allocations: 0.4996 MB / 1.229 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004907/0.9496, allocations: 295.2 kB / 1.23 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002114/0.9498, allocations: 109.5 kB / 1.23 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.151e-05/0.9498, allocations: 39 kB / 1.23 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=47): time 2.785e-06/0.9498, allocations: 0 / 1.23 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of matching and sorting (n=49): time 0.004784/0.9546, allocations: 1.923 MB / 1.232 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.9547, allocations: 59.83 kB / 1.232 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001288/0.956, allocations: 0.8019 MB / 1.232 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.637e-05/0.9561, allocations: 37.7 kB / 1.232 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003756/0.9565, allocations: 479.3 kB / 1.233 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001708/0.9566, allocations: 173.6 kB / 1.233 GB, free: 3.926 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002076/0.9569, allocations: 114.2 kB / 1.233 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001819/0.957, allocations: 333.9 kB / 1.233 GB, free: 3.473 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005455/0.9576, allocations: 241.2 kB / 1.234 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005533/0.9582, allocations: 353.2 kB / 1.234 GB, free: 2.855 MB / 0.9825 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.003946/0.9621, allocations: 1.534 MB / 1.236 GB, free: 1.27 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/0.9621, allocations: 0 / 1.236 GB, free: 1.27 MB / 0.9825 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001628/0.9638, allocations: 0.7848 MB / 1.236 GB, free: 480 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.9638, allocations: 4 kB / 1.236 GB, free: 476 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.9638, allocations: 4 kB / 1.236 GB, free: 472 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003232/0.9642, allocations: 97.59 kB / 1.236 GB, free: 368 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006529/0.9648, allocations: 143.9 kB / 1.237 GB, free: 224 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003994/0.9688, allocations: 3.069 MB / 1.24 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001205/0.9701, allocations: 63.73 kB / 1.24 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/0.9702, allocations: 20 kB / 1.24 GB, free: 12.8 MB / 0.9981 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.0007938/0.971, allocations: 301.6 kB / 1.24 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004064/0.9714, allocations: 94.91 kB / 1.24 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002617/0.9717, allocations: 100.7 kB / 1.24 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.9717, allocations: 4 kB / 1.24 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.9717, allocations: 0 / 1.24 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001216/0.9729, allocations: 0.8466 MB / 1.241 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003691/0.9766, allocations: 1.791 MB / 1.243 GB, free: 9.469 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/0.9767, allocations: 8.094 kB / 1.243 GB, free: 9.461 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006341/0.9773, allocations: 127.8 kB / 1.243 GB, free: 9.336 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002437/0.9776, allocations: 68.75 kB / 1.243 GB, free: 9.266 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.936e-05/0.9776, allocations: 19.98 kB / 1.243 GB, free: 9.246 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001891/0.9795, allocations: 1.648 MB / 1.244 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-06/0.9796, allocations: 7.938 kB / 1.244 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001896/0.9815, allocations: 1.076 MB / 1.246 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005984/0.9821, allocations: 236 kB / 1.246 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002181/0.9823, allocations: 19.98 kB / 1.246 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009396/0.9832, allocations: 67.83 kB / 1.246 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/0.9834, allocations: 39.83 kB / 1.246 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.097e-05/0.9835, allocations: 27.98 kB / 1.246 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001004/0.9845, allocations: 0.5654 MB / 1.246 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.31e-07/0.9845, allocations: 3.938 kB / 1.246 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001259/0.9857, allocations: 288 kB / 1.247 GB, free: 5.082 MB / 0.9981 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.0005505/0.9863, allocations: 179.5 kB / 1.247 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001531/0.9879, allocations: 0.7963 MB / 1.248 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.9879, allocations: 0 / 1.248 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007139/0.9886, allocations: 419.1 kB / 1.248 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002987/0.9916, allocations: 0.5962 MB / 1.249 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003657/0.9953, allocations: 2.169 MB / 1.251 GB, free: 0.832 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5277/1.523, allocations: 1.083 MB / 1.252 GB, free: 231.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001407/1.524, allocations: 214.7 kB / 1.252 GB, free: 231.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003302/1.525, allocations: 69.62 kB / 1.252 GB, free: 231.9 MB / 0.9981 GB Notification: Performance of SimCode: time 1.603e-06/1.525, allocations: 0.5625 kB / 1.252 GB, free: 231.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.0376/1.562, allocations: 19.62 MB / 1.271 GB, free: 226.8 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches