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.001691/0.00169, allocations: 114.3 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.00162/0.00162, allocations: 195.9 kB / 17.31 MB, free: 5.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.394/1.394, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.54/2.54, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001269, allocations: 63.62 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3434, 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.8548/1.198, allocations: 190.6 MB / 1.213 GB, free: 10.78 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01083/1.209, allocations: 5.734 MB / 1.218 GB, free: 6.102 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00199/1.211, allocations: 40.62 kB / 1.218 GB, free: 6.086 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001644/1.213, allocations: 0.5802 MB / 1.219 GB, free: 5.605 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.004459/1.217, allocations: 1.622 MB / 1.221 GB, free: 4.34 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003258/1.221, allocations: 1.221 MB / 1.222 GB, free: 3.426 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003611/1.224, allocations: 2.568 MB / 1.224 GB, free: 1.961 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001226/1.225, allocations: 0.8724 MB / 1.225 GB, free: 1.414 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002008/1.227, allocations: 1.046 MB / 1.226 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001613/1.229, allocations: 0.8082 MB / 1.227 GB, free: 324 kB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001542/1.229, allocations: 96 kB / 1.227 GB, free: 228 kB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003009/1.232, allocations: 1.54 MB / 1.229 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004453/1.233, allocations: 406.8 kB / 1.229 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0007542/1.234, allocations: 0.5872 MB / 1.23 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00323/1.237, allocations: 2.01 MB / 1.232 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/1.237, allocations: 0 / 1.232 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.924e-06/1.237, allocations: 0 / 1.232 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.99e-05/1.237, allocations: 4 kB / 1.232 GB, free: 11.67 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.002414/1.239, allocations: 1.438 MB / 1.233 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/1.239, allocations: 8.031 kB / 1.233 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00271/1.242, allocations: 410.3 kB / 1.233 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001626/1.244, allocations: 0.8038 MB / 1.234 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.157e-05/1.244, allocations: 62 kB / 1.234 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001315/1.244, allocations: 75.98 kB / 1.234 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001859/1.246, allocations: 0.9857 MB / 1.235 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/1.246, allocations: 0 / 1.235 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.22e-05/1.246, allocations: 35.94 kB / 1.235 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.183e-05/1.246, allocations: 33.98 kB / 1.235 GB, free: 7.719 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001873/1.248, allocations: 0.8705 MB / 1.236 GB, free: 6.848 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.006224/1.254, allocations: 3.482 MB / 1.24 GB, free: 3.18 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001567/1.256, allocations: 0.6152 MB / 1.24 GB, free: 2.559 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007314/1.256, allocations: 334.4 kB / 1.24 GB, free: 2.23 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002102/1.257, allocations: 101.4 kB / 1.241 GB, free: 2.113 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/1.257, allocations: 39.22 kB / 1.241 GB, free: 2.066 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=39): time 2.685e-06/1.257, allocations: 0 / 1.241 GB, free: 2.066 MB / 0.9356 GB Notification: Performance of matching and sorting (n=41): time 0.007996/1.265, allocations: 2.386 MB / 1.243 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/1.265, allocations: 59.41 kB / 1.243 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001102/1.266, allocations: 0.7941 MB / 1.244 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 8.019e-05/1.266, allocations: 37.7 kB / 1.244 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003447/1.266, allocations: 451.6 kB / 1.244 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001546/1.266, allocations: 138 kB / 1.244 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000209/1.267, allocations: 106.1 kB / 1.244 GB, free: 14 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002415/1.267, allocations: 330 kB / 1.245 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007415/1.268, allocations: 300.9 kB / 1.245 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000838/1.268, allocations: 408.1 kB / 1.245 GB, free: 12.94 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.00533/1.274, allocations: 1.879 MB / 1.247 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/1.274, allocations: 0 / 1.247 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003277/1.277, allocations: 1.046 MB / 1.248 GB, free: 9.953 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/1.277, allocations: 8 kB / 1.248 GB, free: 9.945 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/1.277, allocations: 0 / 1.248 GB, free: 9.945 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00061/1.278, allocations: 188.8 kB / 1.248 GB, free: 9.758 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007124/1.279, allocations: 147.8 kB / 1.249 GB, free: 9.613 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004244/1.283, allocations: 2.229 MB / 1.251 GB, free: 7.254 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001117/1.284, allocations: 55.94 kB / 1.251 GB, free: 7.199 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.004e-05/1.284, allocations: 20 kB / 1.251 GB, free: 7.18 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.0008391/1.285, allocations: 269.6 kB / 1.251 GB, free: 6.906 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003438/1.285, allocations: 90.91 kB / 1.251 GB, free: 6.816 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002459/1.285, allocations: 96.23 kB / 1.251 GB, free: 6.719 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/1.285, allocations: 11.94 kB / 1.251 GB, free: 6.707 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/1.285, allocations: 0 / 1.251 GB, free: 6.707 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002932/1.288, allocations: 0.9026 MB / 1.252 GB, free: 5.77 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005876/1.294, allocations: 2.095 MB / 1.254 GB, free: 3.574 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/1.294, allocations: 0 / 1.254 GB, free: 3.574 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006602/1.295, allocations: 128.2 kB / 1.254 GB, free: 3.449 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000564/1.296, allocations: 196.6 kB / 1.255 GB, free: 3.254 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.319e-05/1.296, allocations: 12 kB / 1.255 GB, free: 3.242 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003813/1.299, allocations: 2.197 MB / 1.257 GB, free: 0.8984 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.605e-06/1.299, allocations: 7.938 kB / 1.257 GB, free: 0.8906 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004054/1.304, allocations: 1.412 MB / 1.258 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005934/1.304, allocations: 239.9 kB / 1.258 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/1.304, allocations: 12 kB / 1.258 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008414/1.305, allocations: 63.06 kB / 1.258 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001745/1.305, allocations: 35.84 kB / 1.258 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.809e-05/1.305, allocations: 31.97 kB / 1.258 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0008241/1.306, allocations: 0.5498 MB / 1.259 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.9e-07/1.306, allocations: 0 / 1.259 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0009864/1.307, allocations: 280 kB / 1.259 GB, free: 14.21 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.0005347/1.308, allocations: 201.3 kB / 1.259 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002056/1.31, allocations: 0.8108 MB / 1.26 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/1.31, allocations: 12.06 kB / 1.26 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0009396/1.311, allocations: 447.1 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.002323/1.313, allocations: 0.5531 MB / 1.261 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004426/1.318, allocations: 1.892 MB / 1.263 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007581/1.318, allocations: 1.04 MB / 1.264 GB, free: 9.156 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0008017/1.319, allocations: 203.2 kB / 1.264 GB, free: 8.953 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002104/1.319, allocations: 67.42 kB / 1.264 GB, free: 8.887 MB / 0.9669 GB Notification: Performance of SimCode: time 8.72e-07/1.319, allocations: 0 / 1.264 GB, free: 8.887 MB / 0.9669 GB Notification: Performance of Templates: time 0.03603/1.355, allocations: 20.65 MB / 1.285 GB, free: 4.5 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 cvode -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