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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001119/0.001119, 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.001195/0.001195, allocations: 195.2 kB / 16.53 MB, free: 6.391 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.369/1.369, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.779/2.779, allocations: 472.7 MB / 0.7452 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001265, allocations: 66.64 kB / 0.9121 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3654/0.3667, allocations: 159.9 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.9237/1.29, allocations: 190.6 MB / 1.254 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01005/1.301, allocations: 5.732 MB / 1.26 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001308/1.302, allocations: 39.69 kB / 1.26 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001433/1.303, allocations: 0.5757 MB / 1.261 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004053/1.307, allocations: 1.626 MB / 1.262 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003414/1.311, allocations: 1.208 MB / 1.263 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00369/1.315, allocations: 2.559 MB / 1.266 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001421/1.316, allocations: 0.8831 MB / 1.267 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002456/1.318, allocations: 1.04 MB / 1.268 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002118/1.321, allocations: 0.8099 MB / 1.268 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002243/1.321, allocations: 97.94 kB / 1.269 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003358/1.324, allocations: 1.538 MB / 1.27 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005524/1.325, allocations: 406.7 kB / 1.27 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009319/1.326, allocations: 0.59 MB / 1.271 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003736/1.329, allocations: 2.003 MB / 1.273 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/1.329, allocations: 0.6562 kB / 1.273 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.984e-06/1.329, allocations: 0.875 kB / 1.273 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.966e-05/1.33, allocations: 0 / 1.273 GB, free: 5.387 MB / 0.9981 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.00303/1.333, allocations: 1.434 MB / 1.274 GB, free: 20.62 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/1.333, allocations: 9.906 kB / 1.274 GB, free: 20.62 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002989/1.336, allocations: 416.1 kB / 1.275 GB, free: 20.57 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001711/1.337, allocations: 0.7647 MB / 1.276 GB, free: 20.26 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003833/1.338, allocations: 113.4 kB / 1.276 GB, free: 20.25 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001595/1.338, allocations: 76.11 kB / 1.276 GB, free: 20.25 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002387/1.34, allocations: 0.9993 MB / 1.277 GB, free: 20.16 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.463e-05/1.34, allocations: 0.625 kB / 1.277 GB, free: 20.16 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/1.34, allocations: 34.38 kB / 1.277 GB, free: 20.16 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.597e-05/1.34, allocations: 28.75 kB / 1.277 GB, free: 20.16 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00224/1.343, allocations: 0.8896 MB / 1.278 GB, free: 20.15 MB / 1.014 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.007462/1.35, allocations: 3.512 MB / 1.281 GB, free: 18.86 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001827/1.352, allocations: 0.6178 MB / 1.282 GB, free: 18.83 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008508/1.353, allocations: 340.7 kB / 1.282 GB, free: 18.82 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002096/1.353, allocations: 103.3 kB / 1.282 GB, free: 18.73 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/1.353, allocations: 39.03 kB / 1.282 GB, free: 18.69 MB / 1.014 GB Notification: Performance of pre-optimization done (n=39): time 2.775e-06/1.353, allocations: 3.938 kB / 1.282 GB, free: 18.69 MB / 1.014 GB Notification: Performance of matching and sorting (n=41): time 0.008879/1.362, allocations: 2.429 MB / 1.285 GB, free: 18.13 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.447e-05/1.362, allocations: 56.31 kB / 1.285 GB, free: 18.07 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001199/1.363, allocations: 0.7944 MB / 1.285 GB, free: 17.93 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001303/1.364, allocations: 36.58 kB / 1.285 GB, free: 17.9 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000299/1.364, allocations: 453 kB / 1.286 GB, free: 17.71 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001631/1.364, allocations: 150.2 kB / 1.286 GB, free: 17.62 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001849/1.364, allocations: 101.3 kB / 1.286 GB, free: 17.6 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001268/1.364, allocations: 333 kB / 1.286 GB, free: 17.29 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008498/1.365, allocations: 309.4 kB / 1.287 GB, free: 17.29 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008868/1.366, allocations: 417.8 kB / 1.287 GB, free: 17.19 MB / 1.014 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.005463/1.372, allocations: 1.903 MB / 1.289 GB, free: 16.98 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/1.372, allocations: 1 kB / 1.289 GB, free: 16.98 MB / 1.014 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003338/1.375, allocations: 1.043 MB / 1.29 GB, free: 16.88 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/1.375, allocations: 7.625 kB / 1.29 GB, free: 16.88 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/1.375, allocations: 2.406 kB / 1.29 GB, free: 16.88 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005936/1.376, allocations: 193.6 kB / 1.29 GB, free: 16.85 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007241/1.376, allocations: 145.8 kB / 1.29 GB, free: 16.85 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004016/1.38, allocations: 2.228 MB / 1.292 GB, free: 15.47 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/1.382, allocations: 53.64 kB / 1.292 GB, free: 15.46 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.912e-05/1.382, allocations: 23.64 kB / 1.293 GB, free: 15.46 MB / 1.014 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.0006125/1.382, allocations: 279.2 kB / 1.293 GB, free: 15.34 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002667/1.383, allocations: 89.56 kB / 1.293 GB, free: 15.3 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002613/1.383, allocations: 94.14 kB / 1.293 GB, free: 15.29 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/1.383, allocations: 4.531 kB / 1.293 GB, free: 15.29 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/1.383, allocations: 0 / 1.293 GB, free: 15.29 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002945/1.386, allocations: 0.9095 MB / 1.294 GB, free: 15.09 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005905/1.392, allocations: 2.113 MB / 1.296 GB, free: 14.62 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/1.392, allocations: 3.625 kB / 1.296 GB, free: 14.62 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006548/1.392, allocations: 132.7 kB / 1.296 GB, free: 14.62 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005569/1.393, allocations: 190.9 kB / 1.296 GB, free: 14.6 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.743e-05/1.393, allocations: 18.62 kB / 1.296 GB, free: 14.59 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003638/1.397, allocations: 2.188 MB / 1.298 GB, free: 13.22 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/1.397, allocations: 3.844 kB / 1.298 GB, free: 13.22 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004032/1.401, allocations: 1.43 MB / 1.3 GB, free: 12.89 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005794/1.401, allocations: 246.5 kB / 1.3 GB, free: 12.74 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001997/1.402, allocations: 9.344 kB / 1.3 GB, free: 12.74 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009501/1.403, allocations: 63.7 kB / 1.3 GB, free: 12.74 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/1.403, allocations: 40.84 kB / 1.3 GB, free: 12.73 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.539e-05/1.403, allocations: 27.64 kB / 1.3 GB, free: 12.73 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000845/1.404, allocations: 0.5539 MB / 1.301 GB, free: 12.64 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.404, allocations: 2.078 kB / 1.301 GB, free: 12.64 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00113/1.405, allocations: 275.4 kB / 1.301 GB, free: 12.64 MB / 1.014 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.0005362/1.405, allocations: 217.1 kB / 1.301 GB, free: 12.52 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002251/1.408, allocations: 0.8451 MB / 1.302 GB, free: 12.39 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.806e-06/1.408, allocations: 2.562 kB / 1.302 GB, free: 12.39 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000996/1.409, allocations: 465.3 kB / 1.302 GB, free: 12.27 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00276/1.411, allocations: 0.5468 MB / 1.303 GB, free: 12.17 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004564/1.416, allocations: 1.939 MB / 1.305 GB, free: 11.35 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007188/1.417, allocations: 1.041 MB / 1.306 GB, free: 10.64 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009435/1.418, allocations: 204.8 kB / 1.306 GB, free: 10.59 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002229/1.418, allocations: 66.88 kB / 1.306 GB, free: 10.58 MB / 1.014 GB Notification: Performance of SimCode: time 6.21e-07/1.418, allocations: 0 / 1.306 GB, free: 10.58 MB / 1.014 GB Notification: Performance of Templates: time 0.03192/1.45, allocations: 20.66 MB / 1.326 GB, free: 6.285 MB / 1.014 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches