Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_9_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_9_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.001303/0.001303, allocations: 109.2 kB / 15.99 MB, free: 5.891 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.00137/0.00137, allocations: 194.9 kB / 16.91 MB, free: 5.746 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.413/1.413, allocations: 222.9 MB / 240.6 MB, free: 4.516 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.435/2.435, allocations: 390.2 MB / 0.665 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 63.91 kB / 0.8127 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6797/0.6811, allocations: 140.4 MB / 0.9498 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.2103/0.8915, allocations: 188.1 MB / 1.133 GB, free: 5.281 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.009439/0.901, allocations: 5.699 MB / 1.139 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001536/0.9026, allocations: 31.81 kB / 1.139 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001749/0.9044, allocations: 0.5169 MB / 1.14 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.004136/0.9086, allocations: 1.525 MB / 1.141 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002968/0.9116, allocations: 1.1 MB / 1.142 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.00347/0.915, allocations: 2.558 MB / 1.145 GB, free: 9.828 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001384/0.9164, allocations: 0.8627 MB / 1.145 GB, free: 8.957 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002149/0.9186, allocations: 1.039 MB / 1.147 GB, free: 7.914 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002195/0.9208, allocations: 0.8687 MB / 1.147 GB, free: 7.051 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0003135/0.9211, allocations: 96 kB / 1.147 GB, free: 6.957 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003201/0.9243, allocations: 1.609 MB / 1.149 GB, free: 5.344 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0006018/0.925, allocations: 406.8 kB / 1.149 GB, free: 4.945 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.00105/0.926, allocations: 0.5911 MB / 1.15 GB, free: 4.352 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002174/0.9282, allocations: 1.516 MB / 1.151 GB, free: 2.832 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.9282, allocations: 0 / 1.151 GB, free: 2.832 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9282, allocations: 0 / 1.151 GB, free: 2.832 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.72e-05/0.9283, allocations: 3.938 kB / 1.151 GB, free: 2.828 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.002729/0.931, allocations: 1.433 MB / 1.153 GB, free: 1.34 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.9311, allocations: 12.03 kB / 1.153 GB, free: 1.328 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002713/0.9338, allocations: 410.3 kB / 1.153 GB, free: 0.9258 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001478/0.9353, allocations: 0.7609 MB / 1.154 GB, free: 124 kB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003425/0.9356, allocations: 113.9 kB / 1.154 GB, free: 8 kB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001545/0.9358, allocations: 72.05 kB / 1.154 GB, free: 15.93 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001991/0.9378, allocations: 1.01 MB / 1.155 GB, free: 14.91 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/0.9378, allocations: 0 / 1.155 GB, free: 14.91 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.998e-05/0.9379, allocations: 36 kB / 1.155 GB, free: 14.88 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.217e-05/0.938, allocations: 30 kB / 1.155 GB, free: 14.84 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002022/0.94, allocations: 0.8783 MB / 1.156 GB, free: 13.96 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.006977/0.947, allocations: 3.509 MB / 1.16 GB, free: 10.27 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001708/0.9487, allocations: 0.6297 MB / 1.16 GB, free: 9.629 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007999/0.9496, allocations: 345.3 kB / 1.16 GB, free: 9.289 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002089/0.9498, allocations: 93.75 kB / 1.161 GB, free: 9.18 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.654e-05/0.9498, allocations: 38.56 kB / 1.161 GB, free: 9.133 MB / 0.92 GB Notification: Performance of pre-optimization done (n=39): time 2.555e-06/0.9498, allocations: 0 / 1.161 GB, free: 9.133 MB / 0.92 GB Notification: Performance of matching and sorting (n=41): time 0.008653/0.9585, allocations: 2.424 MB / 1.163 GB, free: 6.629 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.9586, allocations: 55.41 kB / 1.163 GB, free: 6.562 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001244/0.9598, allocations: 0.8018 MB / 1.164 GB, free: 5.754 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 9.463e-05/0.9599, allocations: 37.7 kB / 1.164 GB, free: 5.711 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003866/0.9603, allocations: 459.6 kB / 1.164 GB, free: 5.258 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001646/0.9605, allocations: 134 kB / 1.164 GB, free: 5.125 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000217/0.9607, allocations: 102.2 kB / 1.164 GB, free: 5.02 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.9609, allocations: 334 kB / 1.165 GB, free: 4.688 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008153/0.9617, allocations: 308.9 kB / 1.165 GB, free: 4.383 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000936/0.9626, allocations: 412.1 kB / 1.166 GB, free: 3.945 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.005528/0.9682, allocations: 1.906 MB / 1.167 GB, free: 1.988 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.9682, allocations: 0 / 1.167 GB, free: 1.988 MB / 0.92 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003395/0.9716, allocations: 1.05 MB / 1.168 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.9717, allocations: 4 kB / 1.168 GB, free: 0.9219 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.9717, allocations: 4 kB / 1.168 GB, free: 0.918 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006333/0.9723, allocations: 188.8 kB / 1.169 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007366/0.9731, allocations: 147.8 kB / 1.169 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004337/0.9774, allocations: 2.24 MB / 1.171 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001281/0.9787, allocations: 79.83 kB / 1.171 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.815e-05/0.9788, allocations: 20 kB / 1.171 GB, free: 14.11 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 (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.0006234/0.9795, allocations: 282.1 kB / 1.171 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002961/0.9798, allocations: 90.91 kB / 1.171 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002805/0.98, allocations: 96.23 kB / 1.171 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.9801, allocations: 4 kB / 1.171 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.9801, allocations: 0 / 1.171 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003025/0.9831, allocations: 0.9067 MB / 1.172 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005909/0.989, allocations: 2.103 MB / 1.174 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.079e-05/0.9891, allocations: 7.938 kB / 1.174 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006389/0.9897, allocations: 128.2 kB / 1.175 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005586/0.9903, allocations: 184.7 kB / 1.175 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.108e-05/0.9903, allocations: 19.98 kB / 1.175 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003645/0.994, allocations: 2.183 MB / 1.177 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.762e-06/0.994, allocations: 7.938 kB / 1.177 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003915/0.9979, allocations: 1.435 MB / 1.178 GB, free: 6.324 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005498/0.9985, allocations: 244 kB / 1.178 GB, free: 6.066 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002143/0.9987, allocations: 11.98 kB / 1.178 GB, free: 6.055 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00106/0.9998, allocations: 97.72 kB / 1.179 GB, free: 5.961 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.9999, allocations: 43.83 kB / 1.179 GB, free: 5.918 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.805e-05/1, allocations: 27.98 kB / 1.179 GB, free: 5.891 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0008427/1.001, allocations: 0.5537 MB / 1.179 GB, free: 5.344 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.61e-07/1.001, allocations: 0 / 1.179 GB, free: 5.344 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001049/1.002, allocations: 276 kB / 1.179 GB, free: 5.074 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 (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.0005757/1.003, allocations: 218 kB / 1.18 GB, free: 4.863 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002251/1.005, allocations: 0.8406 MB / 1.18 GB, free: 4.008 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.603e-06/1.005, allocations: 0 / 1.18 GB, free: 4.008 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0009833/1.006, allocations: 471.5 kB / 1.181 GB, free: 3.535 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002695/1.008, allocations: 0.5388 MB / 1.181 GB, free: 3.012 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005078/1.014, allocations: 2.298 MB / 1.184 GB, free: 0.6406 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000744/1.014, allocations: 1.036 MB / 1.185 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003074/1.015, allocations: 71.38 kB / 1.185 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of SimCode: time 5.81e-07/1.015, allocations: 4 kB / 1.185 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of Templates: time 0.02818/1.043, allocations: 18.89 MB / 1.203 GB, free: 12.74 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches