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.001513/0.001514, allocations: 100.1 kB / 15.88 MB, free: 12 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.001749/0.001749, allocations: 199.5 kB / 16.79 MB, free: 6.809 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.424/1.424, allocations: 222.9 MB / 240.5 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.851/2.851, allocations: 461.9 MB / 0.7348 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 68.3 kB / 0.899 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4634/0.4647, allocations: 157.4 MB / 1.053 GB, free: 8.309 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.274/0.7388, allocations: 188.4 MB / 1.237 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009811/0.7486, allocations: 5.794 MB / 1.242 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00177/0.7505, allocations: 35.75 kB / 1.242 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001717/0.7522, allocations: 0.5013 MB / 1.243 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004516/0.7568, allocations: 1.529 MB / 1.244 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00336/0.7601, allocations: 1.096 MB / 1.245 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.7719/1.532, allocations: 3.538 MB / 1.249 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001641/1.534, allocations: 0.7432 MB / 1.25 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002437/1.536, allocations: 0.9078 MB / 1.25 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002308/1.538, allocations: 0.8363 MB / 1.251 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001581/1.539, allocations: 49.47 kB / 1.251 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00319/1.542, allocations: 1.731 MB / 1.253 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000537/1.542, allocations: 356.7 kB / 1.253 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001036/1.543, allocations: 0.5432 MB / 1.254 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00271/1.546, allocations: 1.495 MB / 1.255 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/1.546, allocations: 0.5156 kB / 1.255 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.803e-06/1.546, allocations: 0 / 1.255 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.009e-05/1.546, allocations: 0 / 1.255 GB, free: 3.91 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.002962/1.549, allocations: 1.441 MB / 1.257 GB, free: 19.18 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/1.549, allocations: 10.72 kB / 1.257 GB, free: 19.18 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002788/1.552, allocations: 407.5 kB / 1.257 GB, free: 19.11 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00149/1.554, allocations: 0.763 MB / 1.258 GB, free: 18.8 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003307/1.554, allocations: 111.3 kB / 1.258 GB, free: 18.8 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001252/1.554, allocations: 76.81 kB / 1.258 GB, free: 18.8 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002115/1.556, allocations: 0.9927 MB / 1.259 GB, free: 18.7 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.523e-05/1.556, allocations: 2.562 kB / 1.259 GB, free: 18.7 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-05/1.556, allocations: 33.06 kB / 1.259 GB, free: 18.7 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.884e-05/1.556, allocations: 31.42 kB / 1.259 GB, free: 18.7 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001906/1.558, allocations: 0.8806 MB / 1.26 GB, free: 18.67 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.006919/1.565, allocations: 3.516 MB / 1.263 GB, free: 17.35 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001913/1.567, allocations: 0.613 MB / 1.264 GB, free: 17.32 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009416/1.568, allocations: 344.2 kB / 1.264 GB, free: 17.3 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002208/1.568, allocations: 99.06 kB / 1.264 GB, free: 17.21 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.79e-05/1.568, allocations: 37.62 kB / 1.264 GB, free: 17.17 MB / 1.014 GB Notification: Performance of pre-optimization done (n=39): time 3.958e-06/1.568, allocations: 5.828 kB / 1.265 GB, free: 17.16 MB / 1.014 GB Notification: Performance of matching and sorting (n=41): time 0.009076/1.577, allocations: 2.417 MB / 1.267 GB, free: 16.56 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.462e-05/1.578, allocations: 60.73 kB / 1.267 GB, free: 16.5 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001473/1.579, allocations: 0.7965 MB / 1.268 GB, free: 16.36 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001512/1.579, allocations: 37.52 kB / 1.268 GB, free: 16.33 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003973/1.58, allocations: 447.3 kB / 1.268 GB, free: 16.14 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001805/1.58, allocations: 144.7 kB / 1.268 GB, free: 16.05 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002766/1.58, allocations: 107.4 kB / 1.268 GB, free: 16.03 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001392/1.58, allocations: 326.3 kB / 1.269 GB, free: 15.72 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009686/1.581, allocations: 317.2 kB / 1.269 GB, free: 15.71 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001053/1.582, allocations: 413.2 kB / 1.269 GB, free: 15.61 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.005784/1.588, allocations: 1.907 MB / 1.271 GB, free: 15.35 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/1.588, allocations: 0 / 1.271 GB, free: 15.35 MB / 1.014 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003392/1.591, allocations: 1.047 MB / 1.272 GB, free: 15.23 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/1.592, allocations: 7.094 kB / 1.272 GB, free: 15.23 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/1.592, allocations: 4.359 kB / 1.272 GB, free: 15.23 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006286/1.592, allocations: 184.1 kB / 1.272 GB, free: 15.22 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000729/1.593, allocations: 148.1 kB / 1.273 GB, free: 15.21 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003957/1.597, allocations: 2.081 MB / 1.275 GB, free: 13.93 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001316/1.598, allocations: 89.8 kB / 1.275 GB, free: 13.91 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.308e-05/1.598, allocations: 22.28 kB / 1.275 GB, free: 13.91 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.0006198/1.599, allocations: 281.6 kB / 1.275 GB, free: 13.8 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000184/1.599, allocations: 95.97 kB / 1.275 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001754/1.599, allocations: 92.23 kB / 1.275 GB, free: 13.73 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/1.599, allocations: 4.812 kB / 1.275 GB, free: 13.73 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/1.599, allocations: 1.203 kB / 1.275 GB, free: 13.73 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002806/1.602, allocations: 0.8966 MB / 1.276 GB, free: 13.55 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005334/1.607, allocations: 2.108 MB / 1.278 GB, free: 13.09 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/1.607, allocations: 4.094 kB / 1.278 GB, free: 13.09 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006421/1.608, allocations: 131.1 kB / 1.278 GB, free: 13.09 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005471/1.609, allocations: 183.4 kB / 1.278 GB, free: 13.07 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.368e-05/1.609, allocations: 22 kB / 1.278 GB, free: 13.07 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0033/1.612, allocations: 2.037 MB / 1.28 GB, free: 11.79 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.022e-06/1.612, allocations: 4.188 kB / 1.28 GB, free: 11.79 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003908/1.616, allocations: 1.439 MB / 1.282 GB, free: 11.45 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006703/1.617, allocations: 238.9 kB / 1.282 GB, free: 11.3 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001353/1.617, allocations: 15.83 kB / 1.282 GB, free: 11.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009447/1.618, allocations: 88.5 kB / 1.282 GB, free: 11.29 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/1.618, allocations: 42.94 kB / 1.282 GB, free: 11.29 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.672e-05/1.618, allocations: 31.8 kB / 1.282 GB, free: 11.29 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008385/1.619, allocations: 0.5496 MB / 1.283 GB, free: 11.19 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.619, allocations: 0 / 1.283 GB, free: 11.19 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001262/1.62, allocations: 275.3 kB / 1.283 GB, free: 11.19 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.0005565/1.621, allocations: 215.6 kB / 1.283 GB, free: 11.09 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002097/1.623, allocations: 0.805 MB / 1.284 GB, free: 10.96 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/1.623, allocations: 2.375 kB / 1.284 GB, free: 10.96 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009663/1.624, allocations: 453.7 kB / 1.284 GB, free: 10.84 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002723/1.627, allocations: 0.5271 MB / 1.285 GB, free: 10.81 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004984/1.632, allocations: 2.291 MB / 1.287 GB, free: 9.664 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006594/1.632, allocations: 1.037 MB / 1.288 GB, free: 8.953 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003212/1.633, allocations: 72.02 kB / 1.288 GB, free: 8.945 MB / 1.014 GB Notification: Performance of SimCode: time 9.62e-07/1.633, allocations: 0 / 1.288 GB, free: 8.945 MB / 1.014 GB Notification: Performance of Templates: time 0.02835/1.661, allocations: 18.9 MB / 1.307 GB, free: 7.254 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/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