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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001599/0.001599, allocations: 103.2 kB / 16.27 MB, free: 6.406 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.001648/0.001648, allocations: 194.9 kB / 17.2 MB, free: 5.973 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.365/1.365, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.24/2.24, allocations: 390.3 MB / 0.6653 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 62.06 kB / 0.8132 GB, free: 33.02 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.2689, allocations: 140.4 MB / 0.9503 GB, free: 8.883 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.7106/0.9795, allocations: 190.6 MB / 1.136 GB, free: 5.211 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.009785/0.9894, allocations: 5.727 MB / 1.142 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002092/0.9915, allocations: 41.94 kB / 1.142 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001745/0.9933, allocations: 0.5745 MB / 1.143 GB, free: 5.031 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.006603/0.9999, allocations: 1.855 MB / 1.144 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003557/1.004, allocations: 1.173 MB / 1.146 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.004655/1.008, allocations: 2.944 MB / 1.148 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001554/1.01, allocations: 0.9522 MB / 1.149 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002226/1.012, allocations: 1.055 MB / 1.15 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002132/1.014, allocations: 0.917 MB / 1.151 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002438/1.014, allocations: 108.5 kB / 1.151 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003928/1.018, allocations: 1.421 MB / 1.153 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0005584/1.019, allocations: 465.4 kB / 1.153 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0009786/1.02, allocations: 0.6516 MB / 1.154 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.004004/1.024, allocations: 2.123 MB / 1.156 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/1.024, allocations: 0 / 1.156 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.523e-06/1.024, allocations: 0 / 1.156 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.526e-05/1.024, allocations: 1.062 kB / 1.156 GB, free: 1.656 MB / 0.8575 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.003069/1.027, allocations: 1.516 MB / 1.157 GB, free: 16.68 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/1.027, allocations: 12.22 kB / 1.157 GB, free: 16.68 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002072/1.029, allocations: 315.1 kB / 1.158 GB, free: 16.6 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001355/1.031, allocations: 0.7986 MB / 1.158 GB, free: 16.12 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.67e-05/1.031, allocations: 63.91 kB / 1.159 GB, free: 16.09 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/1.031, allocations: 90.45 kB / 1.159 GB, free: 16.06 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001598/1.032, allocations: 0.9289 MB / 1.16 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/1.032, allocations: 0 / 1.16 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-05/1.032, allocations: 37.72 kB / 1.16 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.645e-05/1.033, allocations: 32.64 kB / 1.16 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001428/1.034, allocations: 0.8254 MB / 1.16 GB, free: 15.4 MB / 0.8731 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.00587/1.04, allocations: 3.546 MB / 1.164 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007829/1.041, allocations: 0.4937 MB / 1.164 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004705/1.041, allocations: 296.8 kB / 1.165 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001849/1.041, allocations: 105.9 kB / 1.165 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.963e-05/1.041, allocations: 47.5 kB / 1.165 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=47): time 3.035e-06/1.041, allocations: 3.938 kB / 1.165 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of matching and sorting (n=49): time 0.004283/1.046, allocations: 1.912 MB / 1.167 GB, free: 11.72 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/1.046, allocations: 56.66 kB / 1.167 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/1.047, allocations: 0.8056 MB / 1.167 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.595e-05/1.047, allocations: 38.7 kB / 1.168 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003394/1.047, allocations: 474.9 kB / 1.168 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001551/1.047, allocations: 168.8 kB / 1.168 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001876/1.048, allocations: 125.4 kB / 1.168 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001183/1.048, allocations: 329.9 kB / 1.169 GB, free: 10.4 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003856/1.048, allocations: 239.8 kB / 1.169 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004937/1.049, allocations: 362.2 kB / 1.169 GB, free: 10.12 MB / 0.8731 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.003637/1.052, allocations: 1.534 MB / 1.171 GB, free: 9.465 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/1.052, allocations: 1.375 kB / 1.171 GB, free: 9.465 MB / 0.8731 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001399/1.054, allocations: 0.7818 MB / 1.171 GB, free: 9.133 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/1.054, allocations: 9.438 kB / 1.171 GB, free: 9.129 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/1.054, allocations: 6.562 kB / 1.171 GB, free: 9.125 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002946/1.054, allocations: 94.7 kB / 1.172 GB, free: 9.09 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006461/1.055, allocations: 147.6 kB / 1.172 GB, free: 9.074 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002938/1.058, allocations: 3.294 MB / 1.175 GB, free: 6.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/1.059, allocations: 30.77 kB / 1.175 GB, free: 6.055 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.972e-05/1.059, allocations: 28.28 kB / 1.175 GB, free: 6.043 MB / 0.8731 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.0005518/1.059, allocations: 297.1 kB / 1.175 GB, free: 5.844 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/1.059, allocations: 93.16 kB / 1.175 GB, free: 5.801 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001643/1.06, allocations: 98.03 kB / 1.175 GB, free: 5.742 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/1.06, allocations: 6.375 kB / 1.175 GB, free: 5.742 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/1.06, allocations: 0 / 1.175 GB, free: 5.742 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000985/1.061, allocations: 0.845 MB / 1.176 GB, free: 5.125 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002801/1.063, allocations: 1.791 MB / 1.178 GB, free: 4.203 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/1.063, allocations: 3.344 kB / 1.178 GB, free: 4.203 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005632/1.064, allocations: 131.3 kB / 1.178 GB, free: 4.191 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002181/1.064, allocations: 71.06 kB / 1.178 GB, free: 4.168 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.577e-05/1.064, allocations: 11.66 kB / 1.178 GB, free: 4.164 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001592/1.066, allocations: 1.792 MB / 1.18 GB, free: 2.539 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/1.066, allocations: 6.234 kB / 1.18 GB, free: 2.535 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001505/1.067, allocations: 1.068 MB / 1.181 GB, free: 1.844 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000431/1.068, allocations: 237.5 kB / 1.181 GB, free: 1.645 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/1.068, allocations: 15.69 kB / 1.181 GB, free: 1.637 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006728/1.069, allocations: 28.55 kB / 1.181 GB, free: 1.625 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/1.069, allocations: 46.52 kB / 1.181 GB, free: 1.598 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.279e-05/1.069, allocations: 33.5 kB / 1.181 GB, free: 1.586 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006846/1.07, allocations: 0.5584 MB / 1.182 GB, free: 1.27 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/1.07, allocations: 0 / 1.182 GB, free: 1.27 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0009597/1.071, allocations: 281.2 kB / 1.182 GB, free: 1.25 MB / 0.8731 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.0004989/1.071, allocations: 210.4 kB / 1.182 GB, free: 1.105 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001367/1.072, allocations: 0.8592 MB / 1.183 GB, free: 0.5781 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/1.072, allocations: 3.188 kB / 1.183 GB, free: 0.5781 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0005313/1.073, allocations: 412 kB / 1.184 GB, free: 328 kB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002564/1.076, allocations: 0.604 MB / 1.184 GB, free: 8 kB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002819/1.078, allocations: 1.878 MB / 1.186 GB, free: 14.77 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000625/1.079, allocations: 1.085 MB / 1.187 GB, free: 13.89 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002282/1.079, allocations: 68.66 kB / 1.187 GB, free: 13.88 MB / 0.8887 GB Notification: Performance of SimCode: time 4.61e-07/1.079, allocations: 3.938 kB / 1.187 GB, free: 13.88 MB / 0.8887 GB Notification: Performance of Templates: time 0.0296/1.109, allocations: 21.89 MB / 1.209 GB, free: 2.371 MB / 0.8887 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