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.0009995/0.0009995, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.00922/0.00922, allocations: 170.1 kB / 16.26 MB, free: 6.613 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.485/1.485, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.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.504/2.504, allocations: 390.9 MB / 0.6663 GB, free: 2.293 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005404/0.0005404, allocations: 11.94 kB / 0.8159 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7821/0.7826, allocations: 142.4 MB / 0.955 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2345/1.017, allocations: 185.9 MB / 1.137 GB, free: 4.789 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01221/1.029, allocations: 5.755 MB / 1.142 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002349/1.032, allocations: 31.75 kB / 1.142 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002244/1.034, allocations: 0.4935 MB / 1.143 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.006185/1.04, allocations: 1.739 MB / 1.144 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003735/1.044, allocations: 1.088 MB / 1.145 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.006186/1.05, allocations: 4.09 MB / 1.149 GB, free: 7.57 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001735/1.052, allocations: 0.7796 MB / 1.15 GB, free: 6.781 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002518/1.055, allocations: 0.8672 MB / 1.151 GB, free: 5.91 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002753/1.057, allocations: 0.9044 MB / 1.152 GB, free: 5.008 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0004404/1.058, allocations: 44 kB / 1.152 GB, free: 4.965 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00403/1.062, allocations: 1.621 MB / 1.154 GB, free: 3.34 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0007612/1.063, allocations: 398.8 kB / 1.154 GB, free: 2.949 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001478/1.064, allocations: 0.5926 MB / 1.155 GB, free: 2.348 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.004355/1.068, allocations: 2.13 MB / 1.157 GB, free: 216 kB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/1.069, allocations: 0 / 1.157 GB, free: 216 kB / 0.9044 GB Notification: Performance of FrontEnd: time 2.424e-06/1.069, allocations: 0 / 1.157 GB, free: 216 kB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.228e-05/1.069, allocations: 0 / 1.157 GB, free: 216 kB / 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.003002/1.072, allocations: 1.289 MB / 1.158 GB, free: 14.87 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/1.072, allocations: 11.97 kB / 1.158 GB, free: 14.86 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00253/1.074, allocations: 322.2 kB / 1.158 GB, free: 14.54 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001753/1.076, allocations: 0.8123 MB / 1.159 GB, free: 13.68 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.916e-05/1.076, allocations: 66 kB / 1.159 GB, free: 13.62 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002066/1.076, allocations: 84 kB / 1.159 GB, free: 13.54 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001977/1.078, allocations: 0.9247 MB / 1.16 GB, free: 12.61 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.544e-05/1.078, allocations: 0 / 1.16 GB, free: 12.61 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/1.078, allocations: 32 kB / 1.16 GB, free: 12.57 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.662e-05/1.079, allocations: 41.98 kB / 1.16 GB, free: 12.53 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001687/1.08, allocations: 0.8432 MB / 1.161 GB, free: 11.69 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.006524/1.087, allocations: 3.532 MB / 1.164 GB, free: 7.934 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000902/1.088, allocations: 0.5051 MB / 1.165 GB, free: 7.418 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005251/1.088, allocations: 302 kB / 1.165 GB, free: 7.121 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002051/1.088, allocations: 97.53 kB / 1.165 GB, free: 7.008 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.281e-05/1.089, allocations: 47 kB / 1.165 GB, free: 6.953 MB / 0.92 GB Notification: Performance of pre-optimization done (n=47): time 3.076e-06/1.089, allocations: 0 / 1.165 GB, free: 6.953 MB / 0.92 GB Notification: Performance of matching and sorting (n=49): time 0.004799/1.093, allocations: 1.946 MB / 1.167 GB, free: 4.91 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/1.093, allocations: 55.84 kB / 1.167 GB, free: 4.844 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00124/1.095, allocations: 0.8058 MB / 1.168 GB, free: 4.027 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.755e-05/1.095, allocations: 41.7 kB / 1.168 GB, free: 3.98 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003907/1.095, allocations: 475.3 kB / 1.169 GB, free: 3.512 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.000184/1.095, allocations: 169.6 kB / 1.169 GB, free: 3.344 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/1.095, allocations: 57.62 kB / 1.169 GB, free: 3.281 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001238/1.096, allocations: 333.9 kB / 1.169 GB, free: 2.949 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004868/1.096, allocations: 245.2 kB / 1.169 GB, free: 2.707 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005619/1.097, allocations: 361.2 kB / 1.17 GB, free: 2.32 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.004072/1.101, allocations: 1.569 MB / 1.171 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/1.101, allocations: 0 / 1.171 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001532/1.102, allocations: 0.7924 MB / 1.172 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.515e-05/1.102, allocations: 8.344 kB / 1.172 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/1.102, allocations: 4 kB / 1.172 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003253/1.103, allocations: 93.66 kB / 1.172 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007317/1.103, allocations: 159.8 kB / 1.172 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003317/1.107, allocations: 3.061 MB / 1.175 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001158/1.108, allocations: 63.8 kB / 1.175 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.388e-05/1.108, allocations: 24 kB / 1.175 GB, free: 12.21 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 sytem: 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.0006109/1.109, allocations: 293.6 kB / 1.176 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002608/1.109, allocations: 98.81 kB / 1.176 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002627/1.109, allocations: 100.7 kB / 1.176 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/1.109, allocations: 4 kB / 1.176 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.922e-06/1.109, allocations: 4 kB / 1.176 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001318/1.111, allocations: 0.8544 MB / 1.177 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003549/1.114, allocations: 1.809 MB / 1.178 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/1.114, allocations: 4.406 kB / 1.178 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000634/1.115, allocations: 139.8 kB / 1.178 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002504/1.115, allocations: 68.81 kB / 1.179 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.339e-05/1.115, allocations: 19.98 kB / 1.179 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001766/1.117, allocations: 1.651 MB / 1.18 GB, free: 6.84 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/1.117, allocations: 7.938 kB / 1.18 GB, free: 6.832 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001784/1.119, allocations: 1.08 MB / 1.181 GB, free: 5.695 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005161/1.119, allocations: 235.9 kB / 1.181 GB, free: 5.445 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002475/1.119, allocations: 15.98 kB / 1.181 GB, free: 5.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009907/1.12, allocations: 62.53 kB / 1.182 GB, free: 5.371 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/1.121, allocations: 51.83 kB / 1.182 GB, free: 5.32 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.724e-05/1.121, allocations: 27.98 kB / 1.182 GB, free: 5.293 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0009796/1.122, allocations: 0.5615 MB / 1.182 GB, free: 4.738 MB / 0.9356 GB Notification: Performance of sort global known variables: time 5.31e-07/1.122, allocations: 0 / 1.182 GB, free: 4.738 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001317/1.123, allocations: 284 kB / 1.182 GB, free: 4.461 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.0005999/1.124, allocations: 195.9 kB / 1.183 GB, free: 4.27 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001555/1.125, allocations: 0.8038 MB / 1.183 GB, free: 3.438 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/1.125, allocations: 0.6875 kB / 1.183 GB, free: 3.438 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0006728/1.126, allocations: 426.8 kB / 1.184 GB, free: 3.008 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003481/1.129, allocations: 0.5852 MB / 1.184 GB, free: 2.43 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003197/1.133, allocations: 2.253 MB / 1.187 GB, free: 104 kB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007367/1.133, allocations: 1.087 MB / 1.188 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0009837/1.134, allocations: 211.6 kB / 1.188 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002084/1.135, allocations: 71.42 kB / 1.188 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of SimCode: time 5.72e-07/1.135, allocations: 4 kB / 1.188 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of Templates: time 0.03351/1.168, allocations: 19.52 MB / 1.207 GB, free: 11.45 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches