Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.007404/0.007404, allocations: 100.9 kB / 15.87 MB, free: 5.863 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.001785/0.001785, allocations: 191 kB / 16.79 MB, free: 5.805 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.508/1.508, allocations: 222.9 MB / 240.5 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.439/2.439, allocations: 390.2 MB / 0.6649 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 64.14 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6586/0.66, allocations: 140.4 MB / 0.9496 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2106/0.8707, allocations: 188.4 MB / 1.134 GB, free: 5.102 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01054/0.8813, allocations: 5.787 MB / 1.139 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001628/0.883, allocations: 43.75 kB / 1.139 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001988/0.885, allocations: 0.4935 MB / 1.14 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.005533/0.8906, allocations: 1.739 MB / 1.141 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003433/0.8941, allocations: 1.082 MB / 1.142 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.005189/0.8993, allocations: 4.094 MB / 1.146 GB, free: 7.836 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001853/0.9012, allocations: 0.8004 MB / 1.147 GB, free: 7.023 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002544/0.9037, allocations: 0.8946 MB / 1.148 GB, free: 6.125 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003028/0.9068, allocations: 0.954 MB / 1.149 GB, free: 5.172 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0004145/0.9072, allocations: 56 kB / 1.149 GB, free: 5.117 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00385/0.9111, allocations: 1.633 MB / 1.151 GB, free: 3.48 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0008374/0.912, allocations: 410.8 kB / 1.151 GB, free: 3.078 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001697/0.9137, allocations: 0.5948 MB / 1.152 GB, free: 2.48 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002634/0.9163, allocations: 1.598 MB / 1.153 GB, free: 0.8789 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.044e-06/0.9163, allocations: 3.938 kB / 1.153 GB, free: 0.875 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.733e-06/0.9164, allocations: 0 / 1.153 GB, free: 0.875 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.132e-05/0.9164, allocations: 0 / 1.153 GB, free: 0.875 MB / 0.9044 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.003592/0.92, allocations: 1.511 MB / 1.155 GB, free: 15.31 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.9201, allocations: 12.03 kB / 1.155 GB, free: 15.3 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002264/0.9224, allocations: 314.3 kB / 1.155 GB, free: 14.99 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001472/0.9238, allocations: 0.8046 MB / 1.156 GB, free: 14.14 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.999e-05/0.9239, allocations: 66 kB / 1.156 GB, free: 14.08 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/0.924, allocations: 95.83 kB / 1.156 GB, free: 13.98 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001673/0.9257, allocations: 0.9169 MB / 1.157 GB, free: 13.06 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.601e-05/0.9258, allocations: 7.938 kB / 1.157 GB, free: 13.05 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.701e-05/0.9259, allocations: 39.94 kB / 1.157 GB, free: 13.01 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.26e-05/0.9259, allocations: 30 kB / 1.157 GB, free: 12.98 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001354/0.9273, allocations: 0.8315 MB / 1.158 GB, free: 12.15 MB / 0.92 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.005262/0.9325, allocations: 3.513 MB / 1.161 GB, free: 8.418 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007502/0.9333, allocations: 0.5041 MB / 1.162 GB, free: 7.906 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004574/0.9338, allocations: 294 kB / 1.162 GB, free: 7.617 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001916/0.934, allocations: 101.5 kB / 1.162 GB, free: 7.5 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.934, allocations: 39 kB / 1.162 GB, free: 7.453 MB / 0.92 GB Notification: Performance of pre-optimization done (n=47): time 2.985e-06/0.934, allocations: 4 kB / 1.162 GB, free: 7.449 MB / 0.92 GB Notification: Performance of matching and sorting (n=49): time 0.004083/0.9381, allocations: 1.923 MB / 1.164 GB, free: 5.43 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.9382, allocations: 55.84 kB / 1.164 GB, free: 5.363 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/0.9392, allocations: 0.8058 MB / 1.165 GB, free: 4.547 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.606e-05/0.9393, allocations: 41.69 kB / 1.165 GB, free: 4.5 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003502/0.9396, allocations: 475.4 kB / 1.165 GB, free: 4.031 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.000153/0.9398, allocations: 169.5 kB / 1.165 GB, free: 3.863 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001816/0.94, allocations: 114.2 kB / 1.166 GB, free: 3.746 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.9401, allocations: 337.9 kB / 1.166 GB, free: 3.41 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004103/0.9405, allocations: 245.2 kB / 1.166 GB, free: 3.168 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004955/0.941, allocations: 349.2 kB / 1.166 GB, free: 2.793 MB / 0.92 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.003605/0.9446, allocations: 1.534 MB / 1.168 GB, free: 1.207 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.9447, allocations: 4 kB / 1.168 GB, free: 1.203 MB / 0.92 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001378/0.9461, allocations: 0.7768 MB / 1.169 GB, free: 420 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.9461, allocations: 8 kB / 1.169 GB, free: 412 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.9461, allocations: 352 / 1.169 GB, free: 412 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003035/0.9464, allocations: 101.6 kB / 1.169 GB, free: 304 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000627/0.947, allocations: 139.8 kB / 1.169 GB, free: 164 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002854/0.9499, allocations: 3.066 MB / 1.172 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/0.951, allocations: 63.77 kB / 1.172 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.451e-05/0.9511, allocations: 27.94 kB / 1.172 GB, free: 12.74 MB / 0.9356 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.0005288/0.9516, allocations: 294.9 kB / 1.172 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001721/0.9518, allocations: 94.91 kB / 1.172 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001574/0.952, allocations: 104.7 kB / 1.172 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.361e-06/0.952, allocations: 4 kB / 1.172 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.952, allocations: 3.938 kB / 1.172 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001053/0.953, allocations: 0.8349 MB / 1.173 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002801/0.9558, allocations: 1.794 MB / 1.175 GB, free: 9.414 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.9559, allocations: 4 kB / 1.175 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005954/0.9565, allocations: 136.2 kB / 1.175 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002363/0.9567, allocations: 68.75 kB / 1.175 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.763e-05/0.9568, allocations: 16.19 kB / 1.175 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001538/0.9583, allocations: 1.647 MB / 1.177 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.9583, allocations: 7.938 kB / 1.177 GB, free: 7.402 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001517/0.9598, allocations: 1.068 MB / 1.178 GB, free: 6.277 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004008/0.9603, allocations: 232 kB / 1.178 GB, free: 6.031 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/0.9604, allocations: 19.98 kB / 1.178 GB, free: 6.012 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007583/0.9611, allocations: 65.28 kB / 1.178 GB, free: 5.949 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.9613, allocations: 47.81 kB / 1.178 GB, free: 5.902 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.131e-05/0.9614, allocations: 31.98 kB / 1.178 GB, free: 5.871 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0006902/0.9621, allocations: 0.5576 MB / 1.179 GB, free: 5.32 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.735e-06/0.9621, allocations: 0 / 1.179 GB, free: 5.32 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0009271/0.963, allocations: 295.9 kB / 1.179 GB, free: 5.031 MB / 0.9356 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.0004761/0.9635, allocations: 186.9 kB / 1.179 GB, free: 4.848 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001281/0.9648, allocations: 0.7882 MB / 1.18 GB, free: 4.027 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.9648, allocations: 0 / 1.18 GB, free: 4.027 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0005562/0.9654, allocations: 420.2 kB / 1.18 GB, free: 3.605 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00258/0.9679, allocations: 0.5795 MB / 1.181 GB, free: 3.031 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003025/0.971, allocations: 2.231 MB / 1.183 GB, free: 0.7266 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006869/0.9717, allocations: 1.08 MB / 1.184 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002504/0.9719, allocations: 71.42 kB / 1.184 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of SimCode: time 7.41e-07/0.972, allocations: 0 / 1.184 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of Templates: time 0.02957/1.002, allocations: 21.89 MB / 1.206 GB, free: 9.785 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,volDyn.ports[1].m_flow,gain.y,volDyn.T,volSte.T Variables in the result:gain.y,time,volDyn.T,volDyn.ports[1].m_flow,volSte.T