Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 114.9 kB / 16.37 MB, free: 6 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.001092/0.001092, allocations: 193.2 kB / 17.31 MB, free: 5.602 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.547/2.547, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.001241, allocations: 71.12 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2836, allocations: 153 MB / 1.027 GB, free: 2.059 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.6801/0.9637, allocations: 190.6 MB / 1.213 GB, free: 10.78 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.009095/0.9728, allocations: 5.732 MB / 1.218 GB, free: 6.102 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001106/0.9739, allocations: 40.84 kB / 1.218 GB, free: 6.086 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001574/0.9755, allocations: 0.5804 MB / 1.219 GB, free: 5.605 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.003794/0.9794, allocations: 1.619 MB / 1.221 GB, free: 4.34 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002964/0.9824, allocations: 1.217 MB / 1.222 GB, free: 3.43 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003135/0.9855, allocations: 2.574 MB / 1.224 GB, free: 1.961 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001091/0.9866, allocations: 0.877 MB / 1.225 GB, free: 1.41 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00175/0.9884, allocations: 1.049 MB / 1.226 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001464/0.9899, allocations: 0.8069 MB / 1.227 GB, free: 320 kB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001459/0.99, allocations: 96.69 kB / 1.227 GB, free: 236 kB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002809/0.9928, allocations: 1.543 MB / 1.229 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003975/0.9932, allocations: 398.9 kB / 1.229 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0006245/0.9939, allocations: 0.591 MB / 1.23 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002579/0.9965, allocations: 2.014 MB / 1.232 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.9965, allocations: 0 / 1.232 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.894e-06/0.9965, allocations: 4 kB / 1.232 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.52e-05/0.9966, allocations: 0 / 1.232 GB, free: 11.68 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.002379/0.9989, allocations: 1.434 MB / 1.233 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.999, allocations: 8.031 kB / 1.233 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002632/1.002, allocations: 414.3 kB / 1.233 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001637/1.003, allocations: 0.8078 MB / 1.234 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.055e-05/1.003, allocations: 58 kB / 1.234 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001419/1.003, allocations: 72 kB / 1.234 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001812/1.005, allocations: 0.9905 MB / 1.235 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/1.005, allocations: 0 / 1.235 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.026e-05/1.005, allocations: 36 kB / 1.235 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.705e-05/1.005, allocations: 26 kB / 1.235 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001942/1.007, allocations: 0.8704 MB / 1.236 GB, free: 6.855 MB / 0.9356 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.006078/1.014, allocations: 3.47 MB / 1.24 GB, free: 3.199 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001569/1.015, allocations: 0.6125 MB / 1.24 GB, free: 2.578 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007919/1.016, allocations: 338.4 kB / 1.24 GB, free: 2.246 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001962/1.016, allocations: 97.42 kB / 1.241 GB, free: 2.133 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.94e-05/1.016, allocations: 39.22 kB / 1.241 GB, free: 2.086 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=39): time 2.485e-06/1.016, allocations: 0 / 1.241 GB, free: 2.086 MB / 0.9356 GB Notification: Performance of matching and sorting (n=41): time 0.00802/1.024, allocations: 2.398 MB / 1.243 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/1.024, allocations: 55.41 kB / 1.243 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/1.025, allocations: 0.7901 MB / 1.244 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.218e-05/1.025, allocations: 37.7 kB / 1.244 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003226/1.026, allocations: 451.6 kB / 1.244 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001362/1.026, allocations: 138 kB / 1.244 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001882/1.026, allocations: 106.2 kB / 1.244 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001545/1.026, allocations: 330 kB / 1.245 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000762/1.027, allocations: 296.9 kB / 1.245 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008396/1.028, allocations: 416 kB / 1.245 GB, free: 12.95 MB / 0.9512 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.005233/1.033, allocations: 1.868 MB / 1.247 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/1.033, allocations: 0 / 1.247 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003233/1.036, allocations: 1.042 MB / 1.248 GB, free: 9.98 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/1.036, allocations: 10.5 kB / 1.248 GB, free: 9.973 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/1.036, allocations: 3.984 kB / 1.248 GB, free: 9.969 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006442/1.037, allocations: 188.8 kB / 1.248 GB, free: 9.781 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007041/1.038, allocations: 147.7 kB / 1.249 GB, free: 9.637 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004023/1.042, allocations: 2.238 MB / 1.251 GB, free: 7.266 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009483/1.043, allocations: 52.02 kB / 1.251 GB, free: 7.215 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.299e-05/1.043, allocations: 23.98 kB / 1.251 GB, free: 7.191 MB / 0.9512 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 (59): * Single equations (assignments): 58 * 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.0004332/1.043, allocations: 275.4 kB / 1.251 GB, free: 6.914 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002012/1.043, allocations: 90.91 kB / 1.251 GB, free: 6.824 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001985/1.044, allocations: 96.23 kB / 1.251 GB, free: 6.727 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/1.044, allocations: 4 kB / 1.251 GB, free: 6.723 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/1.044, allocations: 0 / 1.251 GB, free: 6.723 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002759/1.046, allocations: 0.9026 MB / 1.252 GB, free: 5.785 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005291/1.052, allocations: 2.095 MB / 1.254 GB, free: 3.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/1.052, allocations: 0 / 1.254 GB, free: 3.59 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006327/1.052, allocations: 128.2 kB / 1.254 GB, free: 3.465 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000542/1.053, allocations: 196.8 kB / 1.255 GB, free: 3.27 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.512e-05/1.053, allocations: 15.98 kB / 1.255 GB, free: 3.254 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003542/1.057, allocations: 2.187 MB / 1.257 GB, free: 0.918 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/1.057, allocations: 4 kB / 1.257 GB, free: 0.9141 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003718/1.06, allocations: 1.416 MB / 1.258 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005001/1.061, allocations: 239.9 kB / 1.258 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001442/1.061, allocations: 16 kB / 1.258 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008338/1.062, allocations: 59.06 kB / 1.258 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.772e-05/1.062, allocations: 39.89 kB / 1.258 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.157e-05/1.062, allocations: 27.98 kB / 1.258 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0007072/1.063, allocations: 0.5575 MB / 1.259 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.2e-07/1.063, allocations: 4 kB / 1.259 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000848/1.064, allocations: 272 kB / 1.259 GB, free: 14.22 MB / 0.9669 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 (37): * Single equations (assignments): 36 * 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.000454/1.064, allocations: 210.4 kB / 1.259 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002002/1.066, allocations: 0.8106 MB / 1.26 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/1.066, allocations: 7.938 kB / 1.26 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0009227/1.067, allocations: 455.3 kB / 1.261 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002359/1.069, allocations: 0.5415 MB / 1.261 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004386/1.074, allocations: 1.894 MB / 1.263 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007827/1.075, allocations: 1.044 MB / 1.264 GB, free: 9.168 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0008509/1.075, allocations: 203.2 kB / 1.264 GB, free: 8.965 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002462/1.076, allocations: 63.38 kB / 1.264 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of SimCode: time 5.91e-07/1.076, allocations: 0 / 1.264 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of Templates: time 0.03469/1.11, allocations: 20.64 MB / 1.285 GB, free: 4.527 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches