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.009439/0.009439, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.001703/0.001703, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.461/2.461, allocations: 390.2 MB / 0.6648 GB, free: 236 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 59 kB / 0.9509 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3164, allocations: 140.4 MB / 1.088 GB, free: 1.496 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.9613/1.278, allocations: 190.6 MB / 1.274 GB, free: 3.527 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.009584/1.287, allocations: 5.732 MB / 1.28 GB, free: 3.461 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001724/1.289, allocations: 43.06 kB / 1.28 GB, free: 3.461 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001799/1.291, allocations: 0.6031 MB / 1.28 GB, free: 3.449 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004771/1.296, allocations: 1.681 MB / 1.282 GB, free: 3.383 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00419/1.3, allocations: 1.231 MB / 1.283 GB, free: 3.348 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004391/1.304, allocations: 2.573 MB / 1.286 GB, free: 3.344 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001475/1.306, allocations: 0.8806 MB / 1.287 GB, free: 3.273 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002675/1.309, allocations: 1.086 MB / 1.288 GB, free: 3.27 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002588/1.311, allocations: 0.8049 MB / 1.288 GB, free: 3.27 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002887/1.311, allocations: 96.59 kB / 1.288 GB, free: 3.27 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00467/1.316, allocations: 1.546 MB / 1.29 GB, free: 3.254 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0007232/1.317, allocations: 408.7 kB / 1.29 GB, free: 3.25 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001182/1.318, allocations: 0.5841 MB / 1.291 GB, free: 3.25 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004493/1.323, allocations: 2.021 MB / 1.293 GB, free: 3.141 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/1.323, allocations: 1.75 kB / 1.293 GB, free: 3.141 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.425e-06/1.323, allocations: 0 / 1.293 GB, free: 3.141 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.687e-05/1.323, allocations: 0 / 1.293 GB, free: 3.141 MB / 1.014 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.003353/1.326, allocations: 1.431 MB / 1.294 GB, free: 2.375 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/1.326, allocations: 9.922 kB / 1.294 GB, free: 2.375 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003002/1.329, allocations: 419.4 kB / 1.295 GB, free: 2.316 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00168/1.331, allocations: 0.801 MB / 1.296 GB, free: 2.004 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.09e-05/1.331, allocations: 56.78 kB / 1.296 GB, free: 2 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/1.331, allocations: 70.31 kB / 1.296 GB, free: 2 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002094/1.333, allocations: 0.9861 MB / 1.297 GB, free: 1.91 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.919e-05/1.333, allocations: 1.969 kB / 1.297 GB, free: 1.91 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.234e-05/1.333, allocations: 33.88 kB / 1.297 GB, free: 1.91 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.549e-05/1.333, allocations: 28.62 kB / 1.297 GB, free: 1.906 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002161/1.335, allocations: 0.8767 MB / 1.298 GB, free: 1.895 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.006485/1.342, allocations: 3.479 MB / 1.301 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001475/1.343, allocations: 0.6026 MB / 1.301 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007011/1.344, allocations: 337.1 kB / 1.302 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002253/1.344, allocations: 104 kB / 1.302 GB, free: 16.46 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/1.344, allocations: 43.44 kB / 1.302 GB, free: 16.42 MB / 1.029 GB Notification: Performance of pre-optimization done (n=39): time 2.164e-06/1.344, allocations: 0 / 1.302 GB, free: 16.42 MB / 1.029 GB Notification: Performance of matching and sorting (n=41): time 0.007923/1.352, allocations: 2.387 MB / 1.304 GB, free: 15.88 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/1.352, allocations: 61.22 kB / 1.304 GB, free: 15.81 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009988/1.353, allocations: 0.7995 MB / 1.305 GB, free: 15.68 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.017e-05/1.353, allocations: 32.42 kB / 1.305 GB, free: 15.65 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000253/1.354, allocations: 457.3 kB / 1.306 GB, free: 15.46 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/1.354, allocations: 142.3 kB / 1.306 GB, free: 15.37 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001948/1.354, allocations: 109.5 kB / 1.306 GB, free: 15.34 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001123/1.354, allocations: 324.5 kB / 1.306 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007124/1.355, allocations: 302.4 kB / 1.306 GB, free: 15.04 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007636/1.356, allocations: 410.3 kB / 1.307 GB, free: 14.94 MB / 1.029 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.004966/1.361, allocations: 1.877 MB / 1.309 GB, free: 14.72 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/1.361, allocations: 1.125 kB / 1.309 GB, free: 14.72 MB / 1.029 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003223/1.364, allocations: 1.031 MB / 1.31 GB, free: 14.63 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.608e-05/1.364, allocations: 10.83 kB / 1.31 GB, free: 14.63 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/1.364, allocations: 4.281 kB / 1.31 GB, free: 14.63 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006078/1.365, allocations: 192.9 kB / 1.31 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006939/1.365, allocations: 142.4 kB / 1.31 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00384/1.369, allocations: 2.232 MB / 1.312 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001073/1.37, allocations: 49.17 kB / 1.312 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-05/1.37, allocations: 21.83 kB / 1.312 GB, free: 13.21 MB / 1.029 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.0005443/1.371, allocations: 275 kB / 1.313 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002595/1.371, allocations: 90.94 kB / 1.313 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000241/1.371, allocations: 97.47 kB / 1.313 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/1.371, allocations: 5.312 kB / 1.313 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/1.371, allocations: 3.938 kB / 1.313 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002694/1.374, allocations: 0.8876 MB / 1.314 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005431/1.38, allocations: 2.107 MB / 1.316 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/1.38, allocations: 4.547 kB / 1.316 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000604/1.38, allocations: 123.9 kB / 1.316 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005199/1.381, allocations: 195.7 kB / 1.316 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.269e-05/1.381, allocations: 10.41 kB / 1.316 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003623/1.384, allocations: 2.194 MB / 1.318 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.157e-06/1.384, allocations: 11.17 kB / 1.318 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003867/1.388, allocations: 1.411 MB / 1.319 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006474/1.389, allocations: 236.5 kB / 1.32 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002661/1.389, allocations: 14.58 kB / 1.32 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000969/1.39, allocations: 58.06 kB / 1.32 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/1.39, allocations: 39.98 kB / 1.32 GB, free: 10.49 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.933e-05/1.39, allocations: 33.75 kB / 1.32 GB, free: 10.49 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0008769/1.391, allocations: 0.5558 MB / 1.32 GB, free: 10.4 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.7e-07/1.391, allocations: 1.203 kB / 1.32 GB, free: 10.4 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001183/1.392, allocations: 271.4 kB / 1.321 GB, free: 10.39 MB / 1.029 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.0005369/1.393, allocations: 206.6 kB / 1.321 GB, free: 10.29 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002123/1.395, allocations: 0.8113 MB / 1.322 GB, free: 10.15 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/1.395, allocations: 0 / 1.322 GB, free: 10.15 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0008881/1.396, allocations: 460.7 kB / 1.322 GB, free: 10.03 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002538/1.399, allocations: 0.5491 MB / 1.323 GB, free: 9.926 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005319/1.404, allocations: 1.905 MB / 1.324 GB, free: 9.137 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001238/1.405, allocations: 1.046 MB / 1.325 GB, free: 8.418 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.00114/1.406, allocations: 206.6 kB / 1.326 GB, free: 8.367 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002351/1.407, allocations: 63.16 kB / 1.326 GB, free: 8.359 MB / 1.029 GB Notification: Performance of SimCode: time 1.433e-06/1.407, allocations: 3.312 kB / 1.326 GB, free: 8.359 MB / 1.029 GB Notification: Performance of Templates: time 0.03574/1.442, allocations: 20.77 MB / 1.346 GB, free: 2.977 MB / 1.029 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches