Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_10_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_10_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.001085/0.001085, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 198.2 kB / 16.54 MB, free: 6.672 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.364/1.364, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.542/2.542, allocations: 437 MB / 0.7104 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 63.91 kB / 0.8692 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6695/0.6708, allocations: 151.6 MB / 1.017 GB, free: 2.496 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.2248/0.8957, allocations: 190.6 MB / 1.203 GB, free: 3.172 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.009825/0.9055, allocations: 5.728 MB / 1.209 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00155/0.9071, allocations: 43.75 kB / 1.209 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001677/0.9088, allocations: 0.5747 MB / 1.21 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004891/0.9138, allocations: 1.629 MB / 1.211 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003508/0.9173, allocations: 1.201 MB / 1.212 GB, free: 9.98 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004008/0.9213, allocations: 2.567 MB / 1.215 GB, free: 7.41 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001987/0.9233, allocations: 0.8823 MB / 1.216 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002667/0.926, allocations: 1.039 MB / 1.217 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001862/0.9279, allocations: 0.8067 MB / 1.218 GB, free: 4.668 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001823/0.9281, allocations: 100 kB / 1.218 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003158/0.9312, allocations: 1.536 MB / 1.219 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004476/0.9317, allocations: 406.9 kB / 1.22 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0007523/0.9325, allocations: 0.5872 MB / 1.22 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003438/0.9359, allocations: 2.01 MB / 1.222 GB, free: 28 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.9359, allocations: 0 / 1.222 GB, free: 28 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.373e-06/0.9359, allocations: 0 / 1.222 GB, free: 28 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.077e-05/0.936, allocations: 0 / 1.222 GB, free: 28 kB / 0.9669 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.002996/0.939, allocations: 1.43 MB / 1.223 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.939, allocations: 19.92 kB / 1.223 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002812/0.9418, allocations: 414.3 kB / 1.224 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001693/0.9436, allocations: 0.757 MB / 1.225 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003516/0.9439, allocations: 117.9 kB / 1.225 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001741/0.9441, allocations: 79.94 kB / 1.225 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002103/0.9462, allocations: 0.9905 MB / 1.226 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/0.9463, allocations: 0 / 1.226 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.303e-05/0.9464, allocations: 43.98 kB / 1.226 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-05/0.9464, allocations: 26 kB / 1.226 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002139/0.9486, allocations: 0.8861 MB / 1.227 GB, free: 11.16 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.006452/0.955, allocations: 3.52 MB / 1.23 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001814/0.9569, allocations: 0.6215 MB / 1.231 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008403/0.9577, allocations: 345.8 kB / 1.231 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001877/0.9579, allocations: 101.7 kB / 1.231 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.9579, allocations: 38.56 kB / 1.231 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=39): time 2.594e-06/0.958, allocations: 4 kB / 1.231 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of matching and sorting (n=41): time 0.008761/0.9667, allocations: 2.41 MB / 1.234 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/0.9668, allocations: 59.41 kB / 1.234 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/0.968, allocations: 0.794 MB / 1.234 GB, free: 2.957 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.736e-05/0.9681, allocations: 37.7 kB / 1.234 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003514/0.9685, allocations: 447.6 kB / 1.235 GB, free: 2.473 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001767/0.9687, allocations: 145.9 kB / 1.235 GB, free: 2.328 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001879/0.9689, allocations: 106.1 kB / 1.235 GB, free: 2.219 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.969, allocations: 330 kB / 1.235 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008543/0.9699, allocations: 308.9 kB / 1.236 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001027/0.9709, allocations: 416.1 kB / 1.236 GB, free: 1.145 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.005733/0.9766, allocations: 1.902 MB / 1.238 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.9767, allocations: 0 / 1.238 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003395/0.9801, allocations: 1.046 MB / 1.239 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.9801, allocations: 8.094 kB / 1.239 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.9801, allocations: 7.984 kB / 1.239 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006282/0.9807, allocations: 184.7 kB / 1.239 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007368/0.9815, allocations: 147.8 kB / 1.239 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004075/0.9856, allocations: 2.23 MB / 1.241 GB, free: 11.42 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/0.9866, allocations: 56.19 kB / 1.242 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-05/0.9867, allocations: 27.94 kB / 1.242 GB, free: 11.34 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 (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.0004375/0.9871, allocations: 277.9 kB / 1.242 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001653/0.9873, allocations: 90.91 kB / 1.242 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001854/0.9875, allocations: 100.2 kB / 1.242 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-06/0.9875, allocations: 4 kB / 1.242 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.9875, allocations: 0 / 1.242 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003045/0.9906, allocations: 0.9103 MB / 1.243 GB, free: 9.914 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005419/0.996, allocations: 2.11 MB / 1.245 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/0.996, allocations: 7.938 kB / 1.245 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006949/0.9967, allocations: 124 kB / 1.245 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005746/0.9973, allocations: 192.7 kB / 1.245 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.027e-05/0.9974, allocations: 8 kB / 1.245 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003867/1.001, allocations: 2.192 MB / 1.247 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/1.001, allocations: 7.938 kB / 1.247 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004259/1.006, allocations: 1.435 MB / 1.249 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005888/1.006, allocations: 232 kB / 1.249 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001318/1.006, allocations: 23.92 kB / 1.249 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009271/1.007, allocations: 57.31 kB / 1.249 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002065/1.007, allocations: 39.91 kB / 1.249 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.692e-05/1.008, allocations: 31.97 kB / 1.249 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008801/1.008, allocations: 0.5537 MB / 1.25 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.81e-07/1.008, allocations: 0 / 1.25 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00109/1.01, allocations: 272 kB / 1.25 GB, free: 2.328 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 (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.0006018/1.01, allocations: 217.6 kB / 1.25 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002451/1.013, allocations: 0.8444 MB / 1.251 GB, free: 1.254 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/1.013, allocations: 4 kB / 1.251 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001068/1.014, allocations: 459.5 kB / 1.251 GB, free: 0.7891 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003093/1.017, allocations: 0.544 MB / 1.252 GB, free: 264 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4746/1.491, allocations: 1.934 MB / 1.254 GB, free: 233.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007208/1.492, allocations: 1.042 MB / 1.255 GB, free: 232.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001086/1.493, allocations: 201.8 kB / 1.255 GB, free: 232.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002342/1.494, allocations: 65.03 kB / 1.255 GB, free: 232.4 MB / 0.9981 GB Notification: Performance of SimCode: time 1.112e-06/1.494, allocations: 0 / 1.255 GB, free: 232.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.04096/1.534, allocations: 20.67 MB / 1.275 GB, free: 226.5 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches