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.001041/0.001041, allocations: 99.58 kB / 16.02 MB, free: 76 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.00128/0.00128, allocations: 183.3 kB / 16.92 MB, free: 6.918 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.469/1.469, allocations: 223.3 MB / 241 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.904/2.904, allocations: 443.2 MB / 0.7181 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003948/0.0003948, allocations: 13.31 kB / 0.8801 GB, free: 42.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3238, allocations: 155.1 MB / 1.032 GB, free: 4.785 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.2149/0.5388, allocations: 185.9 MB / 1.213 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01067/0.5495, allocations: 5.725 MB / 1.219 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001781/0.5513, allocations: 35.75 kB / 1.219 GB, free: 4.43 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001927/0.5533, allocations: 0.4975 MB / 1.219 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004674/0.558, allocations: 1.533 MB / 1.221 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003496/0.5615, allocations: 1.088 MB / 1.222 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004721/0.5662, allocations: 3.544 MB / 1.225 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001489/0.5677, allocations: 0.7269 MB / 1.226 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002368/0.5701, allocations: 0.8751 MB / 1.227 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002397/0.5725, allocations: 0.8135 MB / 1.228 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002609/0.5728, allocations: 40 kB / 1.228 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00362/0.5764, allocations: 1.715 MB / 1.229 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005389/0.577, allocations: 342.9 kB / 1.23 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0008866/0.5779, allocations: 0.5381 MB / 1.23 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0021/0.58, allocations: 1.473 MB / 1.232 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.58, allocations: 0 / 1.232 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.334e-06/0.58, allocations: 0 / 1.232 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.858e-05/0.58, allocations: 0 / 1.232 GB, free: 7.211 MB / 0.9825 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.002201/0.5822, allocations: 1.231 MB / 1.233 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.5823, allocations: 15.98 kB / 1.233 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002673/0.585, allocations: 442.2 kB / 1.233 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001415/0.5864, allocations: 0.761 MB / 1.234 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003517/0.5868, allocations: 121.9 kB / 1.234 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001461/0.5869, allocations: 83.78 kB / 1.234 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002047/0.589, allocations: 1.01 MB / 1.235 GB, free: 3.445 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.471e-05/0.589, allocations: 3.984 kB / 1.235 GB, free: 3.441 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.36e-05/0.5891, allocations: 32 kB / 1.235 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.804e-05/0.5892, allocations: 34 kB / 1.235 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002068/0.5913, allocations: 0.9095 MB / 1.236 GB, free: 2.469 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.006538/0.5978, allocations: 3.532 MB / 1.24 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001788/0.5996, allocations: 0.6522 MB / 1.24 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008418/0.6005, allocations: 362.8 kB / 1.241 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002029/0.6007, allocations: 101.4 kB / 1.241 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.6007, allocations: 39.22 kB / 1.241 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=39): time 2.414e-06/0.6007, allocations: 0 / 1.241 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of matching and sorting (n=41): time 0.008788/0.6095, allocations: 2.531 MB / 1.243 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.441e-05/0.6096, allocations: 55.41 kB / 1.243 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001141/0.6108, allocations: 0.794 MB / 1.244 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001121/0.6109, allocations: 37.7 kB / 1.244 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003829/0.6113, allocations: 443.8 kB / 1.244 GB, free: 9.609 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001793/0.6115, allocations: 153.8 kB / 1.245 GB, free: 9.457 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.097e-05/0.6116, allocations: 41.7 kB / 1.245 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.6117, allocations: 338 kB / 1.245 GB, free: 9.074 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008515/0.6126, allocations: 320.9 kB / 1.245 GB, free: 8.762 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008729/0.6135, allocations: 428.1 kB / 1.246 GB, free: 8.309 MB / 0.9981 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.005645/0.6191, allocations: 1.989 MB / 1.248 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.6191, allocations: 4 kB / 1.248 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003563/0.6227, allocations: 1.081 MB / 1.249 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.6228, allocations: 8 kB / 1.249 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/0.6228, allocations: 4 kB / 1.249 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006452/0.6234, allocations: 192.7 kB / 1.249 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007393/0.6242, allocations: 159.8 kB / 1.249 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004324/0.6285, allocations: 2.126 MB / 1.251 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001439/0.63, allocations: 91.83 kB / 1.251 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.065e-05/0.6301, allocations: 23.98 kB / 1.251 GB, free: 2.445 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 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 (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.000704/0.6308, allocations: 274.3 kB / 1.252 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003112/0.6311, allocations: 90.91 kB / 1.252 GB, free: 2.078 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002671/0.6314, allocations: 100.2 kB / 1.252 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.6314, allocations: 7.938 kB / 1.252 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.6314, allocations: 0 / 1.252 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003148/0.6346, allocations: 0.9453 MB / 1.253 GB, free: 0.9883 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6702/1.305, allocations: 2.175 MB / 1.255 GB, free: 220.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/1.305, allocations: 3.656 kB / 1.255 GB, free: 220.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00064/1.305, allocations: 139.9 kB / 1.255 GB, free: 220.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005567/1.306, allocations: 194 kB / 1.255 GB, free: 220.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.989e-05/1.306, allocations: 17.36 kB / 1.255 GB, free: 220.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00324/1.309, allocations: 2.071 MB / 1.257 GB, free: 219.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/1.309, allocations: 9.531 kB / 1.257 GB, free: 219.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00419/1.314, allocations: 1.487 MB / 1.259 GB, free: 219.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005643/1.314, allocations: 234.7 kB / 1.259 GB, free: 219.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/1.314, allocations: 13.52 kB / 1.259 GB, free: 219.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009822/1.315, allocations: 96.38 kB / 1.259 GB, free: 219.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/1.315, allocations: 41.31 kB / 1.259 GB, free: 219.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.461e-05/1.315, allocations: 30.8 kB / 1.259 GB, free: 219.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009417/1.316, allocations: 0.5534 MB / 1.26 GB, free: 219 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.316, allocations: 0 / 1.26 GB, free: 219 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001114/1.318, allocations: 272.1 kB / 1.26 GB, free: 219 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.0005746/1.318, allocations: 209.6 kB / 1.26 GB, free: 218.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002486/1.321, allocations: 0.8332 MB / 1.261 GB, free: 218.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/1.321, allocations: 1.781 kB / 1.261 GB, free: 218.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001129/1.322, allocations: 482.5 kB / 1.261 GB, free: 218.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003173/1.325, allocations: 0.5283 MB / 1.262 GB, free: 218.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005249/1.33, allocations: 2.376 MB / 1.264 GB, free: 217.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007572/1.331, allocations: 1.041 MB / 1.265 GB, free: 216.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003365/1.331, allocations: 71.48 kB / 1.265 GB, free: 216.8 MB / 0.9981 GB Notification: Performance of SimCode: time 6.71e-07/1.331, allocations: 0 / 1.265 GB, free: 216.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.03641/1.368, allocations: 18.77 MB / 1.283 GB, free: 210.5 MB / 0.9981 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 -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